Code:
/ 4.0 / 4.0 / 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. //------------------------------------------------------------------------------ //// 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
- IChannel.cs
- DefaultMergeHelper.cs
- PackageRelationship.cs
- AssociationEndMember.cs
- AttributeTableBuilder.cs
- Timer.cs
- SimpleMailWebEventProvider.cs
- RegexCapture.cs
- AttachedPropertyBrowsableAttribute.cs
- SpeechSeg.cs
- SafeHandles.cs
- ParameterCollection.cs
- DoubleUtil.cs
- HtmlElementEventArgs.cs
- PEFileReader.cs
- EventMap.cs
- XmlCharCheckingWriter.cs
- RouteItem.cs
- SEHException.cs
- TextEndOfLine.cs
- ControlType.cs
- InheritablePropertyChangeInfo.cs
- TogglePattern.cs
- BitmapSizeOptions.cs
- RSAPKCS1SignatureFormatter.cs
- MailDefinition.cs
- Profiler.cs
- WindowsAuthenticationEventArgs.cs
- Parallel.cs
- Trace.cs
- ContentTextAutomationPeer.cs
- BaseCodeDomTreeGenerator.cs
- ResourcePropertyMemberCodeDomSerializer.cs
- RoutedEventHandlerInfo.cs
- FrameDimension.cs
- XmlResolver.cs
- ContextDataSource.cs
- ComplexTypeEmitter.cs
- HMACSHA1.cs
- FloaterBaseParagraph.cs
- SQLBinaryStorage.cs
- Calendar.cs
- FormConverter.cs
- SqlAliasesReferenced.cs
- ErrorProvider.cs
- WebBrowsableAttribute.cs
- ModelItemImpl.cs
- CheckBoxField.cs
- SmtpNtlmAuthenticationModule.cs
- UnionCqlBlock.cs
- MetadataHelper.cs
- StateMachineWorkflowInstance.cs
- PatternMatcher.cs
- LinkedList.cs
- DescendentsWalkerBase.cs
- FillRuleValidation.cs
- ISO2022Encoding.cs
- FilePrompt.cs
- StringPropertyBuilder.cs
- Rijndael.cs
- TargetControlTypeCache.cs
- DropShadowEffect.cs
- ContentPlaceHolder.cs
- AddDataControlFieldDialog.cs
- DataTableReader.cs
- DirectoryInfo.cs
- GlobalAllocSafeHandle.cs
- XmlILModule.cs
- XmlDocumentSerializer.cs
- ParseHttpDate.cs
- ClientOperation.cs
- CultureInfo.cs
- DoubleAnimationClockResource.cs
- AQNBuilder.cs
- DataGridViewLinkCell.cs
- ResourceReferenceExpressionConverter.cs
- WorkflowInstanceProvider.cs
- ProcessThreadCollection.cs
- DrawingGroup.cs
- DetectEofStream.cs
- PartDesigner.cs
- CellPartitioner.cs
- PageWrapper.cs
- CheckBox.cs
- WinCategoryAttribute.cs
- XmlCountingReader.cs
- X509SecurityTokenParameters.cs
- SystemParameters.cs
- CellConstantDomain.cs
- ItemList.cs
- DeferredSelectedIndexReference.cs
- AttributedMetaModel.cs
- ValidatingPropertiesEventArgs.cs
- ListViewAutomationPeer.cs
- ReflectionServiceProvider.cs
- DesignTimeType.cs
- PeerCollaborationPermission.cs
- ExceptionUtil.cs
- WindowsScroll.cs
- Matrix.cs