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
- ResourceReferenceKeyNotFoundException.cs
- OleDbRowUpdatingEvent.cs
- TypeDescriptionProviderAttribute.cs
- LazyTextWriterCreator.cs
- Semaphore.cs
- ZipIORawDataFileBlock.cs
- SplitterCancelEvent.cs
- COAUTHIDENTITY.cs
- LinkLabel.cs
- ColumnMapTranslator.cs
- PocoEntityKeyStrategy.cs
- InternalConfigRoot.cs
- XmlSchemaSimpleTypeRestriction.cs
- LinkUtilities.cs
- QilDataSource.cs
- SystemException.cs
- ScrollChangedEventArgs.cs
- CanonicalFontFamilyReference.cs
- ListBase.cs
- ConfigXmlWhitespace.cs
- EFDataModelProvider.cs
- DataPagerFieldCommandEventArgs.cs
- FreezableDefaultValueFactory.cs
- BitmapEffectCollection.cs
- WebPartRestoreVerb.cs
- PeerNodeTraceRecord.cs
- StretchValidation.cs
- DefaultTextStoreTextComposition.cs
- BorderGapMaskConverter.cs
- ClickablePoint.cs
- RectAnimationUsingKeyFrames.cs
- DropSource.cs
- mediaeventshelper.cs
- CreateInstanceBinder.cs
- ManifestResourceInfo.cs
- NestedContainer.cs
- KnownBoxes.cs
- WebPartDisplayModeEventArgs.cs
- SqlAliasesReferenced.cs
- BamlMapTable.cs
- CompilerResults.cs
- EditingMode.cs
- X509CertificateInitiatorClientCredential.cs
- returneventsaver.cs
- HitTestParameters.cs
- ArrayTypeMismatchException.cs
- XmlSecureResolver.cs
- TimelineCollection.cs
- HtmlInputPassword.cs
- Invariant.cs
- ThreadStateException.cs
- ListSurrogate.cs
- CustomValidator.cs
- AutomationPeer.cs
- XmlAnyElementAttributes.cs
- ColorKeyFrameCollection.cs
- TypeSource.cs
- _Connection.cs
- PersonalizationAdministration.cs
- JoinGraph.cs
- MouseCaptureWithinProperty.cs
- CodeDomLocalizationProvider.cs
- MetaForeignKeyColumn.cs
- ErrorCodes.cs
- LinkButton.cs
- PhonemeConverter.cs
- KerberosSecurityTokenAuthenticator.cs
- GregorianCalendarHelper.cs
- FormParameter.cs
- ApplicationHost.cs
- AccessViolationException.cs
- BamlTreeNode.cs
- SystemUnicastIPAddressInformation.cs
- SoapBinding.cs
- Tile.cs
- ExtensionFile.cs
- _AcceptOverlappedAsyncResult.cs
- InstancePersistenceContext.cs
- TransformerConfigurationWizardBase.cs
- XmlWhitespace.cs
- EditableTreeList.cs
- HandlerFactoryWrapper.cs
- Parser.cs
- Tile.cs
- StylusPointPropertyInfo.cs
- DiscoveryRequestHandler.cs
- OrderedHashRepartitionStream.cs
- XmlExceptionHelper.cs
- PropertyEmitterBase.cs
- CorrelationKeyCalculator.cs
- HttpInputStream.cs
- WorkflowQueue.cs
- WebScriptEnablingBehavior.cs
- AspCompat.cs
- SystemKeyConverter.cs
- SoundPlayerAction.cs
- Rect3DConverter.cs
- AgileSafeNativeMemoryHandle.cs
- XmlIlVisitor.cs
- StreamWithDictionary.cs