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
- TableLayoutSettingsTypeConverter.cs
- FeatureSupport.cs
- ColumnPropertiesGroup.cs
- StringWriter.cs
- Material.cs
- DataServiceConfiguration.cs
- ComponentCache.cs
- _ProxyChain.cs
- IUnknownConstantAttribute.cs
- JsonClassDataContract.cs
- SpeechRecognizer.cs
- RuntimeTransactionHandle.cs
- InlineUIContainer.cs
- SqlBuffer.cs
- CallbackValidator.cs
- XPathItem.cs
- MimeParameters.cs
- DoubleStorage.cs
- RSAPKCS1KeyExchangeFormatter.cs
- AspCompat.cs
- SqlXmlStorage.cs
- SerializationInfoEnumerator.cs
- QueryCacheManager.cs
- _ContextAwareResult.cs
- SafeThemeHandle.cs
- CharacterHit.cs
- PropertyGridView.cs
- DataGridState.cs
- ComIntegrationManifestGenerator.cs
- RegexWorker.cs
- SafeNativeMethods.cs
- ZipIOExtraField.cs
- EditorPartChrome.cs
- ValidationSummaryDesigner.cs
- SHA512.cs
- BindingExpressionUncommonField.cs
- SendingRequestEventArgs.cs
- XmlILConstructAnalyzer.cs
- ManualResetEventSlim.cs
- ToolStripItemEventArgs.cs
- X509ServiceCertificateAuthenticationElement.cs
- ControlIdConverter.cs
- CodeDomLocalizationProvider.cs
- _ContextAwareResult.cs
- SettingsProperty.cs
- ListenerSessionConnection.cs
- Int32Rect.cs
- TabItemAutomationPeer.cs
- Pair.cs
- ButtonChrome.cs
- LogReservationCollection.cs
- xdrvalidator.cs
- TextBoxBase.cs
- FontFamily.cs
- BordersPage.cs
- Paragraph.cs
- StructuralType.cs
- DateTimeValueSerializerContext.cs
- BulletChrome.cs
- UriTemplateEquivalenceComparer.cs
- NotFiniteNumberException.cs
- TileBrush.cs
- LinkedList.cs
- DelimitedListTraceListener.cs
- SQLCharsStorage.cs
- NativeRecognizer.cs
- TypeConverters.cs
- ObjectStorage.cs
- EnumBuilder.cs
- DependencyProperty.cs
- ZipArchive.cs
- XPathMultyIterator.cs
- ProfilePropertyMetadata.cs
- HelpFileFileNameEditor.cs
- DetailsViewPageEventArgs.cs
- XmlHierarchicalDataSourceView.cs
- DateTimeConverter2.cs
- TranslateTransform3D.cs
- HtmlShim.cs
- StylusPointPropertyUnit.cs
- FormViewPagerRow.cs
- MethodRental.cs
- BlurBitmapEffect.cs
- SqlProcedureAttribute.cs
- NetCodeGroup.cs
- RoutedEventHandlerInfo.cs
- AuthenticationModuleElementCollection.cs
- WebPartConnectionsCloseVerb.cs
- CryptoKeySecurity.cs
- TextEditorSelection.cs
- AppDomainFactory.cs
- CookielessHelper.cs
- DispatchChannelSink.cs
- ApplicationDirectoryMembershipCondition.cs
- DesignTimeValidationFeature.cs
- HwndHostAutomationPeer.cs
- Graph.cs
- RequestQueryProcessor.cs
- DataContractSet.cs
- GiveFeedbackEventArgs.cs