Code:
/ DotNET / DotNET / 8.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
- LinkArea.cs
- ChameleonKey.cs
- TraceSwitch.cs
- CurrentTimeZone.cs
- Filter.cs
- Activity.cs
- ExtensionElementCollection.cs
- HttpResponse.cs
- EntityCollectionChangedParams.cs
- DbConnectionOptions.cs
- RepeatBehavior.cs
- DelimitedListTraceListener.cs
- SetStoryboardSpeedRatio.cs
- BlurEffect.cs
- MetadataArtifactLoaderXmlReaderWrapper.cs
- StateDesigner.cs
- ObjectPropertyMapping.cs
- QueryConverter.cs
- HtmlInputControl.cs
- ResXResourceReader.cs
- RegexMatch.cs
- SchemaAttDef.cs
- RootCodeDomSerializer.cs
- DataContractSerializerServiceBehavior.cs
- Italic.cs
- DataGridViewRowCancelEventArgs.cs
- RijndaelManaged.cs
- PropertyTabAttribute.cs
- NetworkInformationException.cs
- ContextStaticAttribute.cs
- ReverseInheritProperty.cs
- Crc32Helper.cs
- StoreUtilities.cs
- CodeTypeParameter.cs
- Keyboard.cs
- FormView.cs
- PropertyGridEditorPart.cs
- SecurityTokenProvider.cs
- DebugView.cs
- PersonalizationEntry.cs
- QilParameter.cs
- ButtonColumn.cs
- PropertyMap.cs
- Mappings.cs
- WebPartZone.cs
- XmlILModule.cs
- QuaternionConverter.cs
- UiaCoreProviderApi.cs
- IChannel.cs
- ToolStripScrollButton.cs
- PageContentAsyncResult.cs
- DispatchWrapper.cs
- FactoryGenerator.cs
- CellRelation.cs
- AudioFormatConverter.cs
- SoapFault.cs
- Imaging.cs
- SynchronizingStream.cs
- UnsafeNativeMethods.cs
- ErrorEventArgs.cs
- Rotation3D.cs
- ApplicationDirectoryMembershipCondition.cs
- CodeStatement.cs
- AppSettingsExpressionEditor.cs
- Win32PrintDialog.cs
- Help.cs
- Int16.cs
- DragDeltaEventArgs.cs
- AvTraceDetails.cs
- RootBrowserWindow.cs
- WebHeaderCollection.cs
- CompositionTarget.cs
- KeyedHashAlgorithm.cs
- HtmlInputText.cs
- AutomationPatternInfo.cs
- Configuration.cs
- TrackingProfileSerializer.cs
- TextEditorCopyPaste.cs
- HttpResponseHeader.cs
- RelationshipDetailsRow.cs
- ManagedIStream.cs
- WindowsFormsLinkLabel.cs
- ValidationHelper.cs
- DataConnectionHelper.cs
- HostedTransportConfigurationBase.cs
- ObjectConverter.cs
- ColumnTypeConverter.cs
- SyntaxCheck.cs
- RoleGroupCollection.cs
- DataSourceSerializationException.cs
- DataServiceResponse.cs
- ContentElement.cs
- DataKeyPropertyAttribute.cs
- WebServiceResponse.cs
- StreamGeometryContext.cs
- JournalEntry.cs
- DataTemplate.cs
- ECDiffieHellmanPublicKey.cs
- ConditionCollection.cs
- Volatile.cs