Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / Services / IO / System / IO / IODescriptionAttribute.cs / 1 / 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
- JavaScriptObjectDeserializer.cs
- TreeBuilder.cs
- CacheSection.cs
- DataGridViewToolTip.cs
- ImmComposition.cs
- ForeignKeyConstraint.cs
- HwndHost.cs
- SendKeys.cs
- DefaultHttpHandler.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- WhiteSpaceTrimStringConverter.cs
- FunctionDetailsReader.cs
- XhtmlBasicTextBoxAdapter.cs
- StreamingContext.cs
- SocketPermission.cs
- BitmapEffectrendercontext.cs
- MobileUserControlDesigner.cs
- SineEase.cs
- OracleLob.cs
- FormatException.cs
- RegexNode.cs
- DefinitionBase.cs
- FlowDocumentScrollViewer.cs
- FilterElement.cs
- FigureHelper.cs
- GPStream.cs
- MsmqHostedTransportConfiguration.cs
- HitTestParameters.cs
- ipaddressinformationcollection.cs
- CreateUserErrorEventArgs.cs
- SiblingIterators.cs
- MessageSecurityProtocolFactory.cs
- ExtentCqlBlock.cs
- NativeMethods.cs
- FeatureSupport.cs
- TextRangeEdit.cs
- XmlLoader.cs
- PropertyDescriptorComparer.cs
- WebPartManager.cs
- DEREncoding.cs
- CodeArgumentReferenceExpression.cs
- JsonDeserializer.cs
- DockingAttribute.cs
- Rectangle.cs
- DrawingImage.cs
- WebRequestModulesSection.cs
- TableCell.cs
- ImageBrush.cs
- Interfaces.cs
- ColumnClickEvent.cs
- FieldNameLookup.cs
- DataObjectCopyingEventArgs.cs
- SafeNativeMethods.cs
- SqlRowUpdatingEvent.cs
- VirtualDirectoryMappingCollection.cs
- CRYPTPROTECT_PROMPTSTRUCT.cs
- CodeRemoveEventStatement.cs
- RegexRunnerFactory.cs
- InstanceDataCollection.cs
- Control.cs
- FileDialogCustomPlace.cs
- invalidudtexception.cs
- SimpleWebHandlerParser.cs
- _DomainName.cs
- ResourceReader.cs
- WorkflowInlining.cs
- DataObjectFieldAttribute.cs
- ValidationSummary.cs
- SemanticAnalyzer.cs
- EnvelopedSignatureTransform.cs
- securitycriticaldataformultiplegetandset.cs
- MachineKeyConverter.cs
- ImplicitInputBrush.cs
- TextEditorLists.cs
- CharacterString.cs
- UpdatePanelTriggerCollection.cs
- StringComparer.cs
- ExternalException.cs
- ValidationPropertyAttribute.cs
- PassportAuthentication.cs
- CodeVariableReferenceExpression.cs
- UnicodeEncoding.cs
- Label.cs
- SQLRoleProvider.cs
- XsltContext.cs
- XpsFilter.cs
- AttributeSetAction.cs
- ProjectionRewriter.cs
- InstanceKeyView.cs
- MsmqIntegrationBindingCollectionElement.cs
- FacetChecker.cs
- BufferedOutputAsyncStream.cs
- Configuration.cs
- ProviderMetadataCachedInformation.cs
- BaseResourcesBuildProvider.cs
- FormsIdentity.cs
- SqlNotificationRequest.cs
- MetadataItemEmitter.cs
- TypeElementCollection.cs
- Preprocessor.cs