Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- ServiceOperationWrapper.cs
- QuotedPrintableStream.cs
- TimeIntervalCollection.cs
- ResourceAttributes.cs
- JsonFormatWriterGenerator.cs
- Error.cs
- ScaleTransform.cs
- MeasureItemEvent.cs
- ContentTextAutomationPeer.cs
- ListControlDataBindingHandler.cs
- JsonQNameDataContract.cs
- NullReferenceException.cs
- SQLInt32.cs
- OutArgument.cs
- WorkItem.cs
- Point.cs
- IssuanceTokenProviderState.cs
- ConsoleCancelEventArgs.cs
- GridViewUpdatedEventArgs.cs
- StateManagedCollection.cs
- Image.cs
- WebGetAttribute.cs
- ProcessHostServerConfig.cs
- CallbackValidatorAttribute.cs
- SimpleHandlerFactory.cs
- RenderCapability.cs
- CollectionBase.cs
- StringSource.cs
- ToolCreatedEventArgs.cs
- CanonicalFontFamilyReference.cs
- ConfigurationPropertyAttribute.cs
- FigureParagraph.cs
- NoClickablePointException.cs
- BindValidationContext.cs
- Operand.cs
- Positioning.cs
- ProcessHostConfigUtils.cs
- SqlColumnizer.cs
- Style.cs
- DataSourceHelper.cs
- Registry.cs
- CurrentTimeZone.cs
- Utility.cs
- FocusChangedEventArgs.cs
- InheritanceContextChangedEventManager.cs
- CounterSample.cs
- HashLookup.cs
- OutOfMemoryException.cs
- ObjectList.cs
- SaveFileDialog.cs
- GetPageNumberCompletedEventArgs.cs
- MetaData.cs
- SmiSettersStream.cs
- ActiveDocumentEvent.cs
- SQLInt64Storage.cs
- TextRunCacheImp.cs
- ServiceDescription.cs
- ProjectionPruner.cs
- CodeDOMProvider.cs
- PersianCalendar.cs
- SqlConnectionStringBuilder.cs
- SecurityKeyUsage.cs
- PinnedBufferMemoryStream.cs
- BindingManagerDataErrorEventArgs.cs
- DragEventArgs.cs
- XPathNavigatorReader.cs
- AuthorizationRule.cs
- CryptoHelper.cs
- RemoteHelper.cs
- PointCollectionValueSerializer.cs
- EpmCustomContentDeSerializer.cs
- SqlVersion.cs
- RuntimeConfigLKG.cs
- ToolStripDropDownItem.cs
- Label.cs
- TimeSpanStorage.cs
- SingleAnimation.cs
- WebPartDisplayModeCancelEventArgs.cs
- precedingquery.cs
- QueryCoreOp.cs
- Propagator.Evaluator.cs
- DiscoveryReferences.cs
- CodeDOMUtility.cs
- DtdParser.cs
- MarshalDirectiveException.cs
- DateTimeOffsetAdapter.cs
- NativeMethods.cs
- Query.cs
- ViewRendering.cs
- SingleQueryOperator.cs
- StateDesigner.Layouts.cs
- CompiledQuery.cs
- SHA1CryptoServiceProvider.cs
- JapaneseCalendar.cs
- WindowShowOrOpenTracker.cs
- InheritanceRules.cs
- Utils.cs
- ToolTip.cs
- PreviewKeyDownEventArgs.cs
- SelectionEditingBehavior.cs