Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Services / IO / System / IO / IODescriptionAttribute.cs / 1305376 / 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; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SerializationUtility.cs
- MembershipUser.cs
- _RequestCacheProtocol.cs
- EventOpcode.cs
- ConfigXmlSignificantWhitespace.cs
- XmlWrappingReader.cs
- DocumentViewerBaseAutomationPeer.cs
- ToolStripDropDownClosingEventArgs.cs
- EntityDataSourceEntityTypeFilterConverter.cs
- StreamAsIStream.cs
- PackageRelationshipSelector.cs
- FieldAccessException.cs
- Rotation3D.cs
- Int32AnimationBase.cs
- HttpClientCertificate.cs
- TraceListener.cs
- _NestedSingleAsyncResult.cs
- FormsAuthenticationEventArgs.cs
- XPathEmptyIterator.cs
- RegexGroupCollection.cs
- TrustManagerMoreInformation.cs
- WindowsIdentity.cs
- RichTextBox.cs
- ZipIOExtraField.cs
- InlinedAggregationOperator.cs
- StaticFileHandler.cs
- TextPointerBase.cs
- DocumentApplication.cs
- ToolStripHighContrastRenderer.cs
- NeutralResourcesLanguageAttribute.cs
- Code.cs
- WebPartHeaderCloseVerb.cs
- ContentTextAutomationPeer.cs
- DrawingContextWalker.cs
- QueryAsyncResult.cs
- SchemaManager.cs
- MtomMessageEncodingElement.cs
- CopyAction.cs
- DataBindingExpressionBuilder.cs
- MetadataUtil.cs
- ObjectCloneHelper.cs
- StructuralCache.cs
- PaginationProgressEventArgs.cs
- FontUnit.cs
- VisualBrush.cs
- _SpnDictionary.cs
- OdbcCommandBuilder.cs
- SerialErrors.cs
- WhitespaceRule.cs
- ImageDrawing.cs
- LayoutSettings.cs
- LoadWorkflowByKeyAsyncResult.cs
- ScrollBarAutomationPeer.cs
- CustomCategoryAttribute.cs
- ClientType.cs
- HtmlInputCheckBox.cs
- DynamicValidator.cs
- FontCollection.cs
- WebPartTransformerCollection.cs
- CredentialCache.cs
- XmlValueConverter.cs
- X509SecurityTokenAuthenticator.cs
- AlphaSortedEnumConverter.cs
- XmlKeywords.cs
- CssStyleCollection.cs
- XmlCompatibilityReader.cs
- AsyncPostBackTrigger.cs
- XpsFilter.cs
- BlurBitmapEffect.cs
- ProcessInfo.cs
- DriveNotFoundException.cs
- RegexReplacement.cs
- XPathMessageFilterElementCollection.cs
- MonthChangedEventArgs.cs
- DurableOperationAttribute.cs
- GenericTypeParameterBuilder.cs
- DataGridViewSortCompareEventArgs.cs
- SerializationSectionGroup.cs
- ActivityInterfaces.cs
- CollectionContainer.cs
- ContainerVisual.cs
- OledbConnectionStringbuilder.cs
- SafeHandle.cs
- DispatcherExceptionEventArgs.cs
- DataSourceConverter.cs
- CookieParameter.cs
- EntityContainerAssociationSet.cs
- WebCategoryAttribute.cs
- LicenseException.cs
- Zone.cs
- TextElementCollection.cs
- FormViewRow.cs
- DynamicRouteExpression.cs
- HashCryptoHandle.cs
- AdornerDecorator.cs
- InternalCache.cs
- FormViewDeleteEventArgs.cs
- EditorPart.cs
- DataControlField.cs
- ClientRoleProvider.cs