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
- MetafileHeader.cs
- SHA1Managed.cs
- DependencyPropertyChangedEventArgs.cs
- OdbcTransaction.cs
- EventPropertyMap.cs
- BrushConverter.cs
- SBCSCodePageEncoding.cs
- HttpModulesSection.cs
- EpmSyndicationContentDeSerializer.cs
- Transform3DCollection.cs
- Sql8ExpressionRewriter.cs
- TypedDataSetSchemaImporterExtension.cs
- RepeatButtonAutomationPeer.cs
- ParentQuery.cs
- TaiwanCalendar.cs
- PropertyManager.cs
- DataDesignUtil.cs
- SoapHeaderAttribute.cs
- HebrewCalendar.cs
- TabControlDesigner.cs
- PathFigure.cs
- LayoutEvent.cs
- ResourceDescriptionAttribute.cs
- Page.cs
- SchemaLookupTable.cs
- ThemeDictionaryExtension.cs
- OptimizedTemplateContent.cs
- DataRowCollection.cs
- Stack.cs
- HttpConfigurationContext.cs
- TextServicesDisplayAttributePropertyRanges.cs
- DocumentViewerBase.cs
- PassportAuthentication.cs
- ImageDesigner.cs
- IdentityManager.cs
- OAVariantLib.cs
- BamlLocalizableResource.cs
- SQLStringStorage.cs
- PackageRelationshipCollection.cs
- Wildcard.cs
- HyperLinkField.cs
- ResourceDisplayNameAttribute.cs
- RichTextBoxAutomationPeer.cs
- EventSource.cs
- PerformanceCounter.cs
- UpnEndpointIdentity.cs
- ColumnMapCopier.cs
- MenuCommands.cs
- WizardStepBase.cs
- KeyboardDevice.cs
- SafeHandle.cs
- SqlDependencyListener.cs
- XmlRawWriter.cs
- EmptyEnumerable.cs
- DomNameTable.cs
- RequestResizeEvent.cs
- _HelperAsyncResults.cs
- ComponentTray.cs
- TypeUtil.cs
- CodeStatement.cs
- DesignConnection.cs
- RepeatBehavior.cs
- DataTableCollection.cs
- StylusPointProperties.cs
- RectConverter.cs
- UnmanagedBitmapWrapper.cs
- ForeignKeyConstraint.cs
- NotCondition.cs
- WebPartConnectionsDisconnectVerb.cs
- KerberosSecurityTokenProvider.cs
- SplitterEvent.cs
- ProcessHostServerConfig.cs
- ImageMapEventArgs.cs
- CollectionViewGroupRoot.cs
- ItemsControl.cs
- HighlightVisual.cs
- SettingsProviderCollection.cs
- PhysicalAddress.cs
- IdleTimeoutMonitor.cs
- MediaTimeline.cs
- TrustLevel.cs
- DesignerAttribute.cs
- CreateUserWizardAutoFormat.cs
- Pair.cs
- ShortcutKeysEditor.cs
- BordersPage.cs
- FixedBufferAttribute.cs
- Point3DCollection.cs
- LocalizationComments.cs
- IFlowDocumentViewer.cs
- PageWrapper.cs
- Debug.cs
- ElementHostAutomationPeer.cs
- mactripleDES.cs
- Part.cs
- TransactedReceiveData.cs
- TransformerInfo.cs
- PropertyCondition.cs
- ProcessManager.cs
- StringInfo.cs