Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- HwndAppCommandInputProvider.cs
- SHA256Cng.cs
- ModelService.cs
- Parser.cs
- Bold.cs
- ClientBuildManagerCallback.cs
- ResourceAttributes.cs
- KeyToListMap.cs
- TextFormatterImp.cs
- CloudCollection.cs
- SelectionRange.cs
- DefaultEventAttribute.cs
- ExpressionParser.cs
- ImportFileRequest.cs
- ViewValidator.cs
- AllMembershipCondition.cs
- AxParameterData.cs
- PrintingPermission.cs
- PresentationAppDomainManager.cs
- UdpMessageProperty.cs
- VisualBrush.cs
- DataGridViewCellFormattingEventArgs.cs
- StrokeNodeOperations2.cs
- EntityDataSourceContextCreatingEventArgs.cs
- RegexWorker.cs
- Int64Animation.cs
- StopStoryboard.cs
- ExplicitDiscriminatorMap.cs
- SessionPageStateSection.cs
- MaskedTextBox.cs
- HtmlInputImage.cs
- TrackBarRenderer.cs
- DbXmlEnabledProviderManifest.cs
- dbdatarecord.cs
- SecurityVerifiedMessage.cs
- UnhandledExceptionEventArgs.cs
- ToolStripRendererSwitcher.cs
- WebPartDeleteVerb.cs
- ToolStripSystemRenderer.cs
- DbConnectionClosed.cs
- XmlUrlResolver.cs
- TcpAppDomainProtocolHandler.cs
- SpotLight.cs
- SmtpLoginAuthenticationModule.cs
- Animatable.cs
- HttpTransportElement.cs
- SessionParameter.cs
- UIHelper.cs
- VirtualDirectoryMappingCollection.cs
- RelatedImageListAttribute.cs
- StatusBarAutomationPeer.cs
- DSASignatureDeformatter.cs
- AssemblyHash.cs
- X500Name.cs
- WebServiceTypeData.cs
- WebPartsPersonalization.cs
- XPathCompileException.cs
- ProfileEventArgs.cs
- ClientSettingsStore.cs
- MemoryResponseElement.cs
- MeshGeometry3D.cs
- ColorBuilder.cs
- VectorCollection.cs
- FontSizeConverter.cs
- ScrollableControl.cs
- EntityParameterCollection.cs
- SapiGrammar.cs
- ParseHttpDate.cs
- XmlSchemaAppInfo.cs
- ForceCopyBuildProvider.cs
- DeploymentExceptionMapper.cs
- SemanticResultKey.cs
- ParseNumbers.cs
- DbDataRecord.cs
- DocumentOrderQuery.cs
- MessageDecoder.cs
- LinearGradientBrush.cs
- Collection.cs
- QuotedPrintableStream.cs
- ToolStripSeparatorRenderEventArgs.cs
- ScaleTransform.cs
- CustomTypeDescriptor.cs
- ObjectDataSourceDesigner.cs
- XmlWellformedWriter.cs
- InputBuffer.cs
- Variant.cs
- CompensatableTransactionScopeActivity.cs
- MenuItem.cs
- SoapAttributeOverrides.cs
- MobileTextWriter.cs
- HttpWebRequestElement.cs
- XmlAnyElementAttribute.cs
- XmlValueConverter.cs
- DBPropSet.cs
- ThreadExceptionEvent.cs
- FixedTextBuilder.cs
- WorkflowMarkupSerializer.cs
- Compiler.cs
- StatusBar.cs
- NavigationHelper.cs