Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// 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
- CommandCollectionEditor.cs
- AppDomainFactory.cs
- FastPropertyAccessor.cs
- DNS.cs
- ErrorStyle.cs
- AutoGeneratedField.cs
- BitSet.cs
- LineGeometry.cs
- AuthorizationRule.cs
- SecurityDocument.cs
- ConditionalExpression.cs
- EntityDataSourceWrapperCollection.cs
- XmlQueryOutput.cs
- BrowserTree.cs
- SmtpNtlmAuthenticationModule.cs
- InstanceContextMode.cs
- MetadataSource.cs
- EventLogTraceListener.cs
- BindingMAnagerBase.cs
- TaskFileService.cs
- CompositeActivityValidator.cs
- ToolStripItemTextRenderEventArgs.cs
- ColumnWidthChangingEvent.cs
- AsynchronousChannelMergeEnumerator.cs
- XmlSchemaComplexContentExtension.cs
- CoTaskMemUnicodeSafeHandle.cs
- DBNull.cs
- XmlRawWriter.cs
- XmlQuerySequence.cs
- SmtpMail.cs
- NamedElement.cs
- NamespaceExpr.cs
- ACE.cs
- HiddenField.cs
- BrowsableAttribute.cs
- NextPreviousPagerField.cs
- FileDataSourceCache.cs
- WebBrowserBase.cs
- RoleServiceManager.cs
- InstanceCreationEditor.cs
- ManagementInstaller.cs
- ArrayEditor.cs
- TypeConverterAttribute.cs
- ObjectSet.cs
- InputProcessorProfilesLoader.cs
- MetadataItemSerializer.cs
- ToolStripProgressBar.cs
- ViewStateException.cs
- TextServicesCompartmentEventSink.cs
- XNodeValidator.cs
- TypeReference.cs
- LayoutEngine.cs
- ListChangedEventArgs.cs
- ContentFilePart.cs
- PackageDigitalSignature.cs
- UnmanagedHandle.cs
- SqlBuilder.cs
- AssemblyCollection.cs
- Query.cs
- ToolStripMenuItemDesigner.cs
- InternalControlCollection.cs
- URLMembershipCondition.cs
- DateTimeValueSerializer.cs
- RefExpr.cs
- SvcMapFileSerializer.cs
- DictionaryEntry.cs
- RegexNode.cs
- EmptyElement.cs
- CqlLexer.cs
- LineSegment.cs
- AtomContentProperty.cs
- TextBoxBaseDesigner.cs
- Schema.cs
- LocatorBase.cs
- DiscoveryClientChannelFactory.cs
- XPathNodePointer.cs
- XmlNamedNodeMap.cs
- MessageSecurityOverTcp.cs
- SmtpReplyReaderFactory.cs
- ViewKeyConstraint.cs
- ProvidePropertyAttribute.cs
- LogRecordSequence.cs
- OdbcConnectionStringbuilder.cs
- PkcsUtils.cs
- StylusOverProperty.cs
- RC2CryptoServiceProvider.cs
- dataprotectionpermission.cs
- DesignerDataStoredProcedure.cs
- WindowsListViewItem.cs
- Attributes.cs
- Literal.cs
- HashCoreRequest.cs
- MenuEventArgs.cs
- XmlWrappingWriter.cs
- SqlBulkCopyColumnMapping.cs
- StaticFileHandler.cs
- PerfCounterSection.cs
- TableLayoutStyle.cs
- OdbcConnectionFactory.cs
- _Rfc2616CacheValidators.cs