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
- HtmlControlPersistable.cs
- OleDbException.cs
- KnownTypeHelper.cs
- SafeFindHandle.cs
- HttpRawResponse.cs
- HttpListenerResponse.cs
- ViewCellSlot.cs
- CommandHelpers.cs
- SplitterDesigner.cs
- SafeNativeMethods.cs
- BackoffTimeoutHelper.cs
- _DisconnectOverlappedAsyncResult.cs
- RelationshipFixer.cs
- securitymgrsite.cs
- SchemaObjectWriter.cs
- ParagraphResult.cs
- NotificationContext.cs
- EncryptedKey.cs
- FontWeightConverter.cs
- RelationshipEndMember.cs
- XmlSchemaAnyAttribute.cs
- ZipFileInfoCollection.cs
- Keywords.cs
- FixUp.cs
- XmlRootAttribute.cs
- TheQuery.cs
- ModelTreeManager.cs
- XmlStreamStore.cs
- SafeSecurityHelper.cs
- smtppermission.cs
- MenuCommand.cs
- ScriptControlDescriptor.cs
- SchemaComplexType.cs
- SerialPinChanges.cs
- SectionRecord.cs
- CodeRemoveEventStatement.cs
- PaginationProgressEventArgs.cs
- ReceiveContext.cs
- XmlILConstructAnalyzer.cs
- JsonSerializer.cs
- Faults.cs
- BaseParagraph.cs
- TrackingRecord.cs
- safelinkcollection.cs
- Baml6Assembly.cs
- AnnotationMap.cs
- DataGridPreparingCellForEditEventArgs.cs
- CreatingCookieEventArgs.cs
- ExtentCqlBlock.cs
- TextOnlyOutput.cs
- SqlDataSourceEnumerator.cs
- ReadOnlyPropertyMetadata.cs
- PrefixQName.cs
- NullableDoubleAverageAggregationOperator.cs
- CheckableControlBaseAdapter.cs
- IndentedWriter.cs
- PointConverter.cs
- HtmlInputText.cs
- LogSwitch.cs
- PictureBox.cs
- ReachIDocumentPaginatorSerializerAsync.cs
- Attachment.cs
- HttpListener.cs
- TreeNodeBinding.cs
- Vector3DCollectionConverter.cs
- ProfileSettings.cs
- PersonalizationEntry.cs
- RightsManagementEncryptedStream.cs
- ReflectionHelper.cs
- DataKey.cs
- CfgArc.cs
- RequestCachePolicyConverter.cs
- SystemIPGlobalProperties.cs
- InputGestureCollection.cs
- mactripleDES.cs
- LabelAutomationPeer.cs
- ControlType.cs
- WindowsListViewItem.cs
- EventLogInformation.cs
- DSASignatureFormatter.cs
- WebBrowser.cs
- CodeRemoveEventStatement.cs
- SystemTcpStatistics.cs
- AuthenticateEventArgs.cs
- DispatcherSynchronizationContext.cs
- DataTableMapping.cs
- SignedXml.cs
- NameValueFileSectionHandler.cs
- ItemChangedEventArgs.cs
- ClientApiGenerator.cs
- WebGetAttribute.cs
- smtppermission.cs
- COM2TypeInfoProcessor.cs
- XPathException.cs
- TargetControlTypeCache.cs
- TextOutput.cs
- ImmutableObjectAttribute.cs
- AnnouncementSendsAsyncResult.cs
- ReferenceSchema.cs
- WebServiceReceive.cs