Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Services / IO / System / IO / IODescriptionAttribute.cs / 1305376 / IODescriptionAttribute.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.IO { using System; using System.ComponentModel; ////// DescriptionAttribute marks a property, event, or extender with a /// description. Visual designers can display this description when referencing /// the member. /// [AttributeUsage(AttributeTargets.All)] public class IODescriptionAttribute : DescriptionAttribute { private bool replaced = false; ////// Constructs a new sys description. /// public IODescriptionAttribute(string description) : base(description) { } ////// Retrieves the description text. /// public override string Description { get { if (!replaced) { replaced = true; DescriptionValue = SR.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.IO { using System; using System.ComponentModel; ////// DescriptionAttribute marks a property, event, or extender with a /// description. Visual designers can display this description when referencing /// the member. /// [AttributeUsage(AttributeTargets.All)] public class IODescriptionAttribute : DescriptionAttribute { private bool replaced = false; ////// Constructs a new sys description. /// public IODescriptionAttribute(string description) : base(description) { } ////// Retrieves the description text. /// public override string Description { get { if (!replaced) { replaced = true; DescriptionValue = SR.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
- TextMetrics.cs
- DefaultHttpHandler.cs
- WSDualHttpSecurity.cs
- MenuItemStyleCollectionEditor.cs
- ConnectionManagementSection.cs
- DesignerValidatorAdapter.cs
- TemplatePropertyEntry.cs
- TextSpanModifier.cs
- MaterialGroup.cs
- ClientProxyGenerator.cs
- TreeNodeBinding.cs
- Hyperlink.cs
- ExeContext.cs
- DefaultCommandConverter.cs
- JoinCqlBlock.cs
- WinFormsUtils.cs
- documentsequencetextcontainer.cs
- X509SecurityTokenAuthenticator.cs
- Delay.cs
- ServiceAuthorizationElement.cs
- MD5HashHelper.cs
- DbConnectionStringBuilder.cs
- BitVector32.cs
- PathFigure.cs
- AutoGeneratedField.cs
- OrthographicCamera.cs
- FigureParagraph.cs
- DesignerWebPartChrome.cs
- MLangCodePageEncoding.cs
- SqlError.cs
- CodeBlockBuilder.cs
- ValueQuery.cs
- WebSysDescriptionAttribute.cs
- ObjectResult.cs
- ComplexType.cs
- TextEditorContextMenu.cs
- MULTI_QI.cs
- ThrowHelper.cs
- DataControlField.cs
- MultiByteCodec.cs
- PathGeometry.cs
- NativeMethods.cs
- SEHException.cs
- BackoffTimeoutHelper.cs
- WindowsListViewItemStartMenu.cs
- MethodResolver.cs
- NavigationPropertyEmitter.cs
- BreakSafeBase.cs
- ActivationArguments.cs
- PageContent.cs
- DetailsViewUpdatedEventArgs.cs
- LinqDataSourceContextEventArgs.cs
- BaseParser.cs
- nulltextcontainer.cs
- DataObjectSettingDataEventArgs.cs
- ImageFormatConverter.cs
- ToggleProviderWrapper.cs
- TimeoutException.cs
- CheckBoxRenderer.cs
- AsyncDataRequest.cs
- CompositeDataBoundControl.cs
- TransactionScopeDesigner.cs
- CustomAttributeSerializer.cs
- FactoryRecord.cs
- KeyManager.cs
- StyleTypedPropertyAttribute.cs
- FloaterBaseParagraph.cs
- XmlNavigatorStack.cs
- MessageEncodingBindingElementImporter.cs
- NameTable.cs
- BufferedGraphicsContext.cs
- ListBox.cs
- Conditional.cs
- PermissionAttributes.cs
- CalculatedColumn.cs
- FontSource.cs
- TextTreeExtractElementUndoUnit.cs
- CacheMode.cs
- InheritablePropertyChangeInfo.cs
- SQLDateTime.cs
- TextRenderingModeValidation.cs
- HtmlInputFile.cs
- AppManager.cs
- IssuanceLicense.cs
- Comparer.cs
- iisPickupDirectory.cs
- SpStreamWrapper.cs
- UpdateCommandGenerator.cs
- BulletChrome.cs
- CodePageEncoding.cs
- GenericXmlSecurityTokenAuthenticator.cs
- RequiredAttributeAttribute.cs
- XmlWriterTraceListener.cs
- NamespaceEmitter.cs
- SvcFileManager.cs
- DocumentPageViewAutomationPeer.cs
- TextBoxBaseDesigner.cs
- xsdvalidator.cs
- IconConverter.cs
- ManagementObject.cs