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
- RuntimeCompatibilityAttribute.cs
- Content.cs
- PersonalizationProviderCollection.cs
- WebPartExportVerb.cs
- RemoteWebConfigurationHost.cs
- SvcMapFileLoader.cs
- DeclaredTypeElement.cs
- ScriptControlDescriptor.cs
- OperationAbortedException.cs
- ListBase.cs
- XPathAxisIterator.cs
- DrawingContextWalker.cs
- COM2IVsPerPropertyBrowsingHandler.cs
- ToolStripStatusLabel.cs
- Substitution.cs
- HttpChannelBindingToken.cs
- ObfuscationAttribute.cs
- CollectionBase.cs
- FormViewCommandEventArgs.cs
- DuplicateWaitObjectException.cs
- ArglessEventHandlerProxy.cs
- SerializationInfoEnumerator.cs
- TimeStampChecker.cs
- FlowDocumentReader.cs
- CacheVirtualItemsEvent.cs
- BindableAttribute.cs
- PackageFilter.cs
- TabControlEvent.cs
- BasicHttpBindingCollectionElement.cs
- ReferenceConverter.cs
- AccessDataSource.cs
- ConnectionInterfaceCollection.cs
- CodeDomLoader.cs
- _LoggingObject.cs
- SQLMoneyStorage.cs
- DirectoryInfo.cs
- DataBinding.cs
- ObjectListDataBindEventArgs.cs
- SmiMetaData.cs
- DuplicateWaitObjectException.cs
- x509store.cs
- MemberHolder.cs
- KnownBoxes.cs
- TextTreeUndoUnit.cs
- ListViewHitTestInfo.cs
- PackageProperties.cs
- RtfToXamlReader.cs
- CompressionTransform.cs
- AuthorizationRule.cs
- ToolStripContextMenu.cs
- OpenFileDialog.cs
- XmlDataDocument.cs
- ContentControl.cs
- StatusStrip.cs
- Int64Converter.cs
- SchemaImporterExtensionElement.cs
- ToolstripProfessionalRenderer.cs
- HwndHostAutomationPeer.cs
- ImplicitInputBrush.cs
- ToolStripItemDataObject.cs
- WsatStrings.cs
- CodeCatchClause.cs
- DragEvent.cs
- Triplet.cs
- XmlBindingWorker.cs
- JsonSerializer.cs
- ForEachAction.cs
- Attributes.cs
- SynchronizedDispatch.cs
- StaticDataManager.cs
- TextRangeEdit.cs
- ClientTargetSection.cs
- DodSequenceMerge.cs
- ObjectAnimationBase.cs
- AttributeQuery.cs
- BufferedWebEventProvider.cs
- OperationCanceledException.cs
- TraceUtility.cs
- Exceptions.cs
- StoreItemCollection.Loader.cs
- Package.cs
- CompositeScriptReferenceEventArgs.cs
- CodeValidator.cs
- TaskDesigner.cs
- SqlStatistics.cs
- ArrayWithOffset.cs
- FrameworkContentElementAutomationPeer.cs
- DataBindingCollection.cs
- RegexCharClass.cs
- EmptyEnumerator.cs
- InheritanceUI.cs
- HttpCapabilitiesEvaluator.cs
- PageThemeParser.cs
- RequestTimeoutManager.cs
- ReversePositionQuery.cs
- ReaderWriterLock.cs
- PersonalizationProviderHelper.cs
- Attributes.cs
- XPathChildIterator.cs
- FileLoadException.cs