Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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; } } } }
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- columnmapkeybuilder.cs
- StrokeDescriptor.cs
- ReferencedAssemblyResolver.cs
- MergePropertyDescriptor.cs
- DivideByZeroException.cs
- WpfKnownMember.cs
- HtmlTableCell.cs
- UnsafeNativeMethods.cs
- HttpPostedFile.cs
- COAUTHIDENTITY.cs
- DelegateBodyWriter.cs
- PngBitmapDecoder.cs
- FixedSOMGroup.cs
- SkipQueryOptionExpression.cs
- CodeConstructor.cs
- SafeFileMapViewHandle.cs
- EventlogProvider.cs
- SmtpDigestAuthenticationModule.cs
- MetaForeignKeyColumn.cs
- PageStatePersister.cs
- CodeChecksumPragma.cs
- LinqTreeNodeEvaluator.cs
- XmlEncodedRawTextWriter.cs
- SpecialFolderEnumConverter.cs
- DataControlButton.cs
- Codec.cs
- RealizationContext.cs
- TextBounds.cs
- PermissionRequestEvidence.cs
- DesignerCatalogPartChrome.cs
- StringToken.cs
- ProcessThreadCollection.cs
- UIInitializationException.cs
- StylusOverProperty.cs
- ProfileGroupSettingsCollection.cs
- AvTraceFormat.cs
- _ListenerResponseStream.cs
- ReverseInheritProperty.cs
- AssemblyGen.cs
- PersonalizablePropertyEntry.cs
- SqlReorderer.cs
- DetailsView.cs
- SystemFonts.cs
- TransactionScopeDesigner.cs
- BindingsCollection.cs
- SrgsRulesCollection.cs
- CodeObjectCreateExpression.cs
- CodeConditionStatement.cs
- LoginName.cs
- GraphicsPath.cs
- DrawingGroup.cs
- SqlDataSourceFilteringEventArgs.cs
- LayoutSettings.cs
- ObjectNotFoundException.cs
- MenuItem.cs
- SiteMapNodeItemEventArgs.cs
- ConditionCollection.cs
- CollectionContainer.cs
- DesignerActionPropertyItem.cs
- CodeEventReferenceExpression.cs
- BitmapEffectGeneralTransform.cs
- HttpResponse.cs
- SqlMethods.cs
- WSSecurityOneDotOneSendSecurityHeader.cs
- AttributeEmitter.cs
- BindingExpression.cs
- TemplateBuilder.cs
- WebPartDisplayModeCancelEventArgs.cs
- InvalidEnumArgumentException.cs
- Convert.cs
- DrawingImage.cs
- ContextStack.cs
- XmlCompatibilityReader.cs
- BindableTemplateBuilder.cs
- StaticFileHandler.cs
- COAUTHINFO.cs
- RightsManagementUser.cs
- XmlBinaryReader.cs
- ColorConvertedBitmapExtension.cs
- UIntPtr.cs
- EncoderReplacementFallback.cs
- QuotedPrintableStream.cs
- SmtpDigestAuthenticationModule.cs
- CategoryGridEntry.cs
- ListViewItemMouseHoverEvent.cs
- TripleDESCryptoServiceProvider.cs
- EventNotify.cs
- WindowsPrincipal.cs
- WebServiceHandler.cs
- NameValueConfigurationElement.cs
- ScrollEvent.cs
- TextLineResult.cs
- JsonServiceDocumentSerializer.cs
- UsernameTokenFactoryCredential.cs
- HighlightVisual.cs
- TabControlAutomationPeer.cs
- XmlArrayAttribute.cs
- KeyBinding.cs
- ComponentCodeDomSerializer.cs
- ProfileInfo.cs