Code:
/ 4.0 / 4.0 / untmp / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- TemplateControl.cs
- BrowserCapabilitiesFactoryBase.cs
- ThreadAbortException.cs
- Int64AnimationBase.cs
- MarginsConverter.cs
- Rss20FeedFormatter.cs
- dbdatarecord.cs
- IImplicitResourceProvider.cs
- PersonalizationProviderCollection.cs
- SerializationInfoEnumerator.cs
- InputLanguageCollection.cs
- DateRangeEvent.cs
- Viewport3DVisual.cs
- ProcessHostFactoryHelper.cs
- Italic.cs
- PowerModeChangedEventArgs.cs
- FixedSOMGroup.cs
- InfoCardRSACryptoProvider.cs
- MultilineStringConverter.cs
- RequestCacheEntry.cs
- SharedStatics.cs
- ShadowGlyph.cs
- XamlSerializerUtil.cs
- ConstructorBuilder.cs
- DateTimeFormat.cs
- HtmlInputSubmit.cs
- LeftCellWrapper.cs
- StackSpiller.Generated.cs
- ViewGenResults.cs
- ToolboxItem.cs
- Point3DCollection.cs
- ScriptControl.cs
- PointAnimationClockResource.cs
- HitTestParameters.cs
- AuthorizationSection.cs
- DataServiceQuery.cs
- followingsibling.cs
- MouseGesture.cs
- CodeSpit.cs
- ProtocolsConfigurationHandler.cs
- Baml6Assembly.cs
- EntityCollection.cs
- ConsoleEntryPoint.cs
- EventQueueState.cs
- FormParameter.cs
- BaseAddressElement.cs
- FtpWebRequest.cs
- XmlElementList.cs
- odbcmetadatacollectionnames.cs
- WindowsIdentity.cs
- StringFormat.cs
- Int32AnimationBase.cs
- NamespaceTable.cs
- XmlNamespaceDeclarationsAttribute.cs
- UIElement.cs
- DebugView.cs
- ErrorHandler.cs
- RequestSecurityTokenResponse.cs
- OutputCacheSettingsSection.cs
- QueryResults.cs
- BitmapVisualManager.cs
- QueryCacheKey.cs
- AncestorChangedEventArgs.cs
- __Error.cs
- RelationshipNavigation.cs
- UnsafeNativeMethods.cs
- DispatcherSynchronizationContext.cs
- PolicyValidationException.cs
- SuppressMessageAttribute.cs
- ThreadStateException.cs
- SettingsPropertyValueCollection.cs
- MetadataReference.cs
- SchemaCollectionCompiler.cs
- WindowsImpersonationContext.cs
- DbParameterHelper.cs
- IfAction.cs
- NativeMethodsOther.cs
- FilePrompt.cs
- FileDialog_Vista_Interop.cs
- CompilationLock.cs
- FrameworkContentElement.cs
- WebProxyScriptElement.cs
- CacheSection.cs
- BatchParser.cs
- JsonQNameDataContract.cs
- SQlBooleanStorage.cs
- PropertyGridView.cs
- MetadataPropertyvalue.cs
- CalendarDayButton.cs
- StringReader.cs
- ObjectDataSourceEventArgs.cs
- QueryContinueDragEvent.cs
- RestClientProxyHandler.cs
- CancellationHandler.cs
- validation.cs
- TTSEngineProxy.cs
- TableRowCollection.cs
- ZipIOZip64EndOfCentralDirectoryLocatorBlock.cs
- CursorInteropHelper.cs
- FixedFindEngine.cs