Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Data / System / Data / DataSysAttribute.cs / 1305376 / 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) ] public 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
- Rules.cs
- FaultReason.cs
- BamlRecordHelper.cs
- ConcurrencyBehavior.cs
- ProfileEventArgs.cs
- cookiecontainer.cs
- TypeLibConverter.cs
- CacheHelper.cs
- CodeDefaultValueExpression.cs
- RtfToXamlReader.cs
- ProfilePropertySettings.cs
- IChannel.cs
- WindowsIPAddress.cs
- ArraySegment.cs
- UInt32Storage.cs
- MetadataAssemblyHelper.cs
- WinFormsUtils.cs
- AnimationLayer.cs
- XhtmlTextWriter.cs
- AssociationSet.cs
- TTSEvent.cs
- XmlSchemas.cs
- CodeSnippetExpression.cs
- OleTxTransaction.cs
- ResourceDescriptionAttribute.cs
- GradientStop.cs
- InvalidProgramException.cs
- Sentence.cs
- TypeHelper.cs
- ObjectConverter.cs
- WindowHelperService.cs
- UIEndRequest.cs
- RotateTransform3D.cs
- RoleGroupCollection.cs
- EventHandlersStore.cs
- ToolStripDropDownItemDesigner.cs
- DataControlFieldCell.cs
- WebEventCodes.cs
- MimeBasePart.cs
- BypassElement.cs
- SettingsPropertyNotFoundException.cs
- CheckBoxList.cs
- RandomDelaySendsAsyncResult.cs
- DesignParameter.cs
- KerberosSecurityTokenProvider.cs
- ServiceDiscoveryBehavior.cs
- ObjectViewQueryResultData.cs
- RowToFieldTransformer.cs
- SafeHandles.cs
- CreateInstanceBinder.cs
- SQLSingle.cs
- DrawingImage.cs
- ImageUrlEditor.cs
- DeclarationUpdate.cs
- Tablet.cs
- RangeValidator.cs
- TimeSpanMinutesConverter.cs
- ListenerElementsCollection.cs
- GroupBox.cs
- HtmlWindowCollection.cs
- XmlStrings.cs
- InputLangChangeRequestEvent.cs
- EmptyStringExpandableObjectConverter.cs
- ConstantCheck.cs
- ProviderConnectionPointCollection.cs
- SoapTypeAttribute.cs
- QueryContinueDragEventArgs.cs
- ColumnClickEvent.cs
- CodeCommentStatementCollection.cs
- Rotation3DKeyFrameCollection.cs
- ErrorHandler.cs
- BehaviorDragDropEventArgs.cs
- PrefixQName.cs
- EntryIndex.cs
- ActiveXContainer.cs
- QueryInterceptorAttribute.cs
- EventProviderWriter.cs
- WebConfigManager.cs
- NullableLongMinMaxAggregationOperator.cs
- Converter.cs
- InvalidDataException.cs
- RsaKeyGen.cs
- SerializerProvider.cs
- MailSettingsSection.cs
- WasNotInstalledException.cs
- ProcessModelSection.cs
- RenamedEventArgs.cs
- LocationReferenceValue.cs
- CompatibleComparer.cs
- PageMediaType.cs
- TextProperties.cs
- Expander.cs
- DispatcherTimer.cs
- RoleService.cs
- SizeChangedEventArgs.cs
- LayoutTable.cs
- XmlUnspecifiedAttribute.cs
- followingquery.cs
- BaseTemplateBuildProvider.cs
- GenericAuthenticationEventArgs.cs