Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- precedingsibling.cs
- Maps.cs
- XmlUrlResolver.cs
- HiddenField.cs
- Int32Rect.cs
- LowerCaseStringConverter.cs
- SoapFormatter.cs
- CompatibleComparer.cs
- HashSetEqualityComparer.cs
- MouseEventArgs.cs
- DataControlReference.cs
- HuffmanTree.cs
- Message.cs
- SystemSounds.cs
- KeyTimeConverter.cs
- DecoderBestFitFallback.cs
- XmlDocumentFieldSchema.cs
- FixedFlowMap.cs
- CallbackBehaviorAttribute.cs
- RequestTimeoutManager.cs
- InvalidCommandTreeException.cs
- ConfigurationHelpers.cs
- BatchStream.cs
- CornerRadius.cs
- ReadOnlyDataSource.cs
- InstalledVoice.cs
- CodeMemberProperty.cs
- DelimitedListTraceListener.cs
- ImpersonationContext.cs
- LinqDataSourceHelper.cs
- PathGeometry.cs
- GridViewRowEventArgs.cs
- IssuanceTokenProviderState.cs
- CategoryNameCollection.cs
- XmlNodeWriter.cs
- PreviewPrintController.cs
- odbcmetadatafactory.cs
- GridPattern.cs
- safelink.cs
- NamespaceEmitter.cs
- SystemException.cs
- ReferencedCollectionType.cs
- UnhandledExceptionEventArgs.cs
- CatalogZoneAutoFormat.cs
- ClickablePoint.cs
- XmlSchemaAttributeGroup.cs
- SqlGenericUtil.cs
- SqlSelectStatement.cs
- ResourceDefaultValueAttribute.cs
- DuplicateWaitObjectException.cs
- ProjectedSlot.cs
- ThreadInterruptedException.cs
- WindowHideOrCloseTracker.cs
- HttpCacheVary.cs
- XmlComplianceUtil.cs
- WebReference.cs
- HttpModulesSection.cs
- PrintingPermissionAttribute.cs
- cookieexception.cs
- PagesSection.cs
- SpeechDetectedEventArgs.cs
- ComEventsMethod.cs
- TemplateControlParser.cs
- Validator.cs
- StorageEntitySetMapping.cs
- GridItemProviderWrapper.cs
- BoolExpressionVisitors.cs
- AssemblyBuilderData.cs
- ThumbAutomationPeer.cs
- EntityDataSourceDesignerHelper.cs
- WebBrowserNavigatingEventHandler.cs
- WeakKeyDictionary.cs
- XhtmlBasicControlAdapter.cs
- XmlNamespaceMappingCollection.cs
- RestClientProxyHandler.cs
- DelegateSerializationHolder.cs
- WebEvents.cs
- X509CertificateClaimSet.cs
- CompiledQueryCacheKey.cs
- DiagnosticSection.cs
- TextParaClient.cs
- SRDisplayNameAttribute.cs
- ProcessHostConfigUtils.cs
- Model3DGroup.cs
- Tag.cs
- DesigntimeLicenseContextSerializer.cs
- XmlBufferReader.cs
- SignerInfo.cs
- ScriptDescriptor.cs
- MobileUITypeEditor.cs
- Compensate.cs
- WhitespaceRuleLookup.cs
- ValueTable.cs
- GridViewColumnHeader.cs
- ServiceInfoCollection.cs
- AuthenticationSection.cs
- ToolboxItemCollection.cs
- UTF32Encoding.cs
- BaseDataListPage.cs
- SmtpLoginAuthenticationModule.cs