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
- FixedSOMTableCell.cs
- XmlReaderSettings.cs
- DataSourceCacheDurationConverter.cs
- JsonEncodingStreamWrapper.cs
- XmlNotation.cs
- ADConnectionHelper.cs
- QuaternionAnimationBase.cs
- StrokeNodeEnumerator.cs
- LabelDesigner.cs
- MeshGeometry3D.cs
- HealthMonitoringSectionHelper.cs
- EdmFunction.cs
- ErrorProvider.cs
- TabItem.cs
- ITextView.cs
- Speller.cs
- TiffBitmapDecoder.cs
- ToolStripLocationCancelEventArgs.cs
- ThreadExceptionDialog.cs
- WebEvents.cs
- WindowShowOrOpenTracker.cs
- DataKey.cs
- CodeDomSerializer.cs
- DbTransaction.cs
- TextSelectionHelper.cs
- MappingModelBuildProvider.cs
- XmlBinaryWriter.cs
- DisposableCollectionWrapper.cs
- ChannelServices.cs
- TypefaceMap.cs
- WindowsGraphics.cs
- SecUtil.cs
- ProcessModuleDesigner.cs
- AtomicFile.cs
- State.cs
- ToolStripButton.cs
- sqlpipe.cs
- PrintDialogException.cs
- XamlPointCollectionSerializer.cs
- ConfigurationLoaderException.cs
- DayRenderEvent.cs
- ObjectListItemCollection.cs
- CacheDependency.cs
- XmlSchemaAnnotation.cs
- xmlsaver.cs
- DbConnectionPool.cs
- DisplayMemberTemplateSelector.cs
- SecurityKeyType.cs
- Brush.cs
- UserControl.cs
- SafeCryptoHandles.cs
- AuthenticationModuleElement.cs
- Bitmap.cs
- PeerObject.cs
- SystemIcmpV4Statistics.cs
- VolatileEnlistmentState.cs
- MarshalDirectiveException.cs
- SqlCachedBuffer.cs
- RootProfilePropertySettingsCollection.cs
- TextElement.cs
- ContainerAction.cs
- MultiPageTextView.cs
- DecoderReplacementFallback.cs
- AssemblyBuilderData.cs
- ListView.cs
- DelayedRegex.cs
- X509CertificateStore.cs
- TemplateApplicationHelper.cs
- HandlerFactoryWrapper.cs
- GB18030Encoding.cs
- TextServicesLoader.cs
- SemanticAnalyzer.cs
- RuleSetDialog.cs
- DesignerCategoryAttribute.cs
- XmlArrayItemAttributes.cs
- GetPageNumberCompletedEventArgs.cs
- XmlReaderDelegator.cs
- Vars.cs
- listitem.cs
- SqlUdtInfo.cs
- HebrewCalendar.cs
- formatstringdialog.cs
- StreamWriter.cs
- DataViewSetting.cs
- GridViewCancelEditEventArgs.cs
- RequestCachePolicyConverter.cs
- WindowsIdentity.cs
- SplashScreen.cs
- Image.cs
- RequestNavigateEventArgs.cs
- InternalCache.cs
- XamlTypeMapper.cs
- AuthenticationSection.cs
- streamingZipPartStream.cs
- OracleConnectionStringBuilder.cs
- Stroke.cs
- VectorValueSerializer.cs
- UnsafeNativeMethods.cs
- AuthenticationModulesSection.cs
- _NegoState.cs