Code:
/ 4.0 / 4.0 / 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. //------------------------------------------------------------------------------ //// 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
- ExpressionTextBox.xaml.cs
- EntityTemplateFactory.cs
- StrongNameIdentityPermission.cs
- CollectionConverter.cs
- BrowserCapabilitiesFactoryBase.cs
- ObjectDataSource.cs
- DecimalMinMaxAggregationOperator.cs
- ScriptReferenceBase.cs
- ListControlBoundActionList.cs
- PasswordDeriveBytes.cs
- WebBrowserNavigatingEventHandler.cs
- SimpleWebHandlerParser.cs
- CorrelationValidator.cs
- ScriptingAuthenticationServiceSection.cs
- ListSourceHelper.cs
- MarshalDirectiveException.cs
- TextTreeUndo.cs
- WizardPanel.cs
- FrameAutomationPeer.cs
- XmlQueryContext.cs
- SettingsProperty.cs
- ListViewGroup.cs
- MetadataArtifactLoader.cs
- ObsoleteAttribute.cs
- CollectionChangeEventArgs.cs
- SynchronizedDispatch.cs
- UnsafeNativeMethodsCLR.cs
- TraceProvider.cs
- CqlParser.cs
- BreadCrumbTextConverter.cs
- MetadataWorkspace.cs
- ProfileInfo.cs
- CodeBlockBuilder.cs
- SmiRecordBuffer.cs
- LocalizabilityAttribute.cs
- EntityDataSourceReferenceGroup.cs
- PathFigure.cs
- CredentialCache.cs
- SafeArrayTypeMismatchException.cs
- ResourceManagerWrapper.cs
- peersecurityelement.cs
- SqlRowUpdatedEvent.cs
- ApplicationProxyInternal.cs
- EventDescriptorCollection.cs
- ConfigurationException.cs
- UnSafeCharBuffer.cs
- ScriptingRoleServiceSection.cs
- DigestTraceRecordHelper.cs
- XmlReader.cs
- DiffuseMaterial.cs
- NullExtension.cs
- DebugManager.cs
- XmlSchemaDocumentation.cs
- WebConfigurationHost.cs
- documentsequencetextpointer.cs
- CDSCollectionETWBCLProvider.cs
- EntityProviderFactory.cs
- MetadataException.cs
- DataGridViewColumnConverter.cs
- ISO2022Encoding.cs
- SchemaDeclBase.cs
- FileDialogPermission.cs
- SqlDataSource.cs
- TypeInitializationException.cs
- ResourceWriter.cs
- DetailsViewRow.cs
- KeyBinding.cs
- ConstrainedDataObject.cs
- Publisher.cs
- AssemblyBuilder.cs
- CallbackValidator.cs
- SmtpDigestAuthenticationModule.cs
- TrackingMemoryStreamFactory.cs
- SafeNativeMethods.cs
- SslStream.cs
- LeaseManager.cs
- EventLogPropertySelector.cs
- WindowsHyperlink.cs
- WebPartZoneDesigner.cs
- XmlBindingWorker.cs
- IconHelper.cs
- ZipIOCentralDirectoryBlock.cs
- Metafile.cs
- DiffuseMaterial.cs
- KeysConverter.cs
- CheckBoxBaseAdapter.cs
- ProxyManager.cs
- ExpandCollapseIsCheckedConverter.cs
- DropShadowEffect.cs
- Console.cs
- WindowHideOrCloseTracker.cs
- MemberHolder.cs
- _FtpControlStream.cs
- GridViewUpdatedEventArgs.cs
- SqlDataSourceEnumerator.cs
- OdbcConnectionString.cs
- TdsParserHelperClasses.cs
- DataGridViewHeaderCell.cs
- LinqDataSourceHelper.cs
- TreeViewCancelEvent.cs