Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / Data / System / Data / DataSysAttribute.cs / 1 / DataSysAttribute.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //[....] //----------------------------------------------------------------------------- /* */ namespace System.Data { using System; using System.ComponentModel; ////// [AttributeUsage(AttributeTargets.All)] [ Obsolete("DataSysDescriptionAttribute has been deprecated. http://go.microsoft.com/fwlink/?linkid=14202", false) ] #if WINFSInternalOnly internal #else public #endif class DataSysDescriptionAttribute : DescriptionAttribute { private bool replaced = false; ////// DescriptionAttribute marks a property, event, or extender with a /// description. Visual designers can display this description when referencing /// the member. /// ////// Constructs a new sys description. /// [ Obsolete("DataSysDescriptionAttribute has been deprecated. http://go.microsoft.com/fwlink/?linkid=14202", false) ] public DataSysDescriptionAttribute(string description) : base(description) { } ////// Retrieves the description text. /// public override string Description { get { if (!replaced) { replaced = true; DescriptionValue = Res.GetString(base.Description); } return base.Description; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //[....] //----------------------------------------------------------------------------- /* */ namespace System.Data { using System; using System.ComponentModel; ////// [AttributeUsage(AttributeTargets.All)] [ Obsolete("DataSysDescriptionAttribute has been deprecated. http://go.microsoft.com/fwlink/?linkid=14202", false) ] #if WINFSInternalOnly internal #else public #endif class DataSysDescriptionAttribute : DescriptionAttribute { private bool replaced = false; ////// DescriptionAttribute marks a property, event, or extender with a /// description. Visual designers can display this description when referencing /// the member. /// ////// Constructs a new sys description. /// [ Obsolete("DataSysDescriptionAttribute has been deprecated. http://go.microsoft.com/fwlink/?linkid=14202", false) ] public DataSysDescriptionAttribute(string description) : base(description) { } ////// Retrieves the description text. /// public override string Description { get { if (!replaced) { replaced = true; DescriptionValue = Res.GetString(base.Description); } return base.Description; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- InfoCardService.cs
- VisualBasicHelper.cs
- InstallerTypeAttribute.cs
- CacheSection.cs
- XmlResolver.cs
- PageAsyncTaskManager.cs
- PolyBezierSegment.cs
- TextEmbeddedObject.cs
- PackWebRequestFactory.cs
- RuntimeArgumentHandle.cs
- Function.cs
- TransportContext.cs
- DataControlReference.cs
- AuthorizationRuleCollection.cs
- URIFormatException.cs
- RadioButtonFlatAdapter.cs
- DeferredTextReference.cs
- XmlAttributeProperties.cs
- EdmTypeAttribute.cs
- XmlILStorageConverter.cs
- TabControlAutomationPeer.cs
- ToolStripOverflow.cs
- PolicyException.cs
- AsyncCompletedEventArgs.cs
- ButtonBase.cs
- ComponentRenameEvent.cs
- DbDataAdapter.cs
- Int32CAMarshaler.cs
- TakeOrSkipQueryOperator.cs
- StreamSecurityUpgradeAcceptorBase.cs
- TypeListConverter.cs
- SystemIcmpV6Statistics.cs
- NamedPipeChannelListener.cs
- SendSecurityHeader.cs
- OutOfProcStateClientManager.cs
- StandardOleMarshalObject.cs
- TypeLoadException.cs
- XmlSchemaSimpleTypeList.cs
- AncestorChangedEventArgs.cs
- ActiveXHost.cs
- PolyLineSegmentFigureLogic.cs
- COSERVERINFO.cs
- WindowsStartMenu.cs
- LinqToSqlWrapper.cs
- _NetRes.cs
- AnnotationResourceCollection.cs
- _LocalDataStoreMgr.cs
- ServicePointManagerElement.cs
- DbConnectionClosed.cs
- AppLevelCompilationSectionCache.cs
- ElapsedEventArgs.cs
- ResourceContainer.cs
- ObjectDataSourceView.cs
- ProtocolElementCollection.cs
- SkewTransform.cs
- StrongTypingException.cs
- TargetControlTypeAttribute.cs
- ContextDataSourceContextData.cs
- PropertyInformationCollection.cs
- DbConnectionPoolIdentity.cs
- ResourceReferenceExpressionConverter.cs
- RuleAttributes.cs
- ObjectFullSpanRewriter.cs
- FixUpCollection.cs
- CurrentChangedEventManager.cs
- DocumentViewerConstants.cs
- InitializationEventAttribute.cs
- HttpWebRequest.cs
- ImageMapEventArgs.cs
- AttributedMetaModel.cs
- ColumnReorderedEventArgs.cs
- XhtmlBasicTextViewAdapter.cs
- PrimaryKeyTypeConverter.cs
- Triplet.cs
- SplineKeyFrames.cs
- DisposableCollectionWrapper.cs
- ImageInfo.cs
- ScrollViewer.cs
- SafeProcessHandle.cs
- DbConnectionOptions.cs
- PreservationFileWriter.cs
- StylusPointDescription.cs
- ZipIORawDataFileBlock.cs
- HMACSHA512.cs
- _SafeNetHandles.cs
- PeerToPeerException.cs
- EnumBuilder.cs
- XPathScanner.cs
- contentDescriptor.cs
- RowsCopiedEventArgs.cs
- DriveNotFoundException.cs
- Table.cs
- XPathMultyIterator.cs
- BackStopAuthenticationModule.cs
- EntityDataSourceWrapper.cs
- StatusBarDrawItemEvent.cs
- SqlTopReducer.cs
- RtType.cs
- DocumentOrderQuery.cs
- ObjectAssociationEndMapping.cs