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
- TableLayoutPanelCodeDomSerializer.cs
- BindingManagerDataErrorEventArgs.cs
- XmlSchemaSimpleContent.cs
- CorrelationKeyCalculator.cs
- BitmapFrame.cs
- LinqDataSourceContextData.cs
- versioninfo.cs
- RemotingServices.cs
- FontInfo.cs
- ListBoxChrome.cs
- HostedElements.cs
- SqlCommand.cs
- ServiceModelEnhancedConfigurationElementCollection.cs
- BitmapData.cs
- LineBreak.cs
- SystemParameters.cs
- RuleProcessor.cs
- DataGridParentRows.cs
- Transform3DCollection.cs
- PersonalizableAttribute.cs
- WeakEventManager.cs
- metadatamappinghashervisitor.hashsourcebuilder.cs
- SafeFileMapViewHandle.cs
- StickyNoteHelper.cs
- RSAPKCS1SignatureFormatter.cs
- BindingExpression.cs
- SystemTcpStatistics.cs
- SystemIPAddressInformation.cs
- AbsoluteQuery.cs
- QilExpression.cs
- SqlCrossApplyToCrossJoin.cs
- PrePrepareMethodAttribute.cs
- UpdateCommand.cs
- DesignerAdapterAttribute.cs
- IncrementalCompileAnalyzer.cs
- BaseTemplateBuildProvider.cs
- SiteMapPath.cs
- StrongNameSignatureInformation.cs
- BaseCollection.cs
- Cloud.cs
- ComPlusTypeValidator.cs
- IdleTimeoutMonitor.cs
- Point.cs
- HtmlLink.cs
- ContainerUIElement3D.cs
- UnauthorizedWebPart.cs
- ListView.cs
- AssemblyCollection.cs
- CompositeScriptReference.cs
- ContentDisposition.cs
- SqlBuilder.cs
- MenuCommandsChangedEventArgs.cs
- FrugalMap.cs
- PolyBezierSegment.cs
- CodeTypeParameter.cs
- CompilationSection.cs
- SynchronizationLockException.cs
- CompressedStack.cs
- BindingMAnagerBase.cs
- AuthorizationRuleCollection.cs
- TextDecorationUnitValidation.cs
- WindowsHyperlink.cs
- ConfigurationManager.cs
- AstTree.cs
- safelinkcollection.cs
- DataGridViewCellValidatingEventArgs.cs
- TransformerTypeCollection.cs
- XmlNodeReader.cs
- LinearKeyFrames.cs
- Help.cs
- WizardSideBarListControlItemEventArgs.cs
- DataGridViewTopLeftHeaderCell.cs
- PropertyStore.cs
- NumberSubstitution.cs
- XPathParser.cs
- PropertyMapper.cs
- AppDomainProtocolHandler.cs
- SQlBooleanStorage.cs
- RsaSecurityToken.cs
- PointKeyFrameCollection.cs
- NamespaceEmitter.cs
- HtmlInputCheckBox.cs
- BitmapEffectInput.cs
- CommonServiceBehaviorElement.cs
- TextServicesContext.cs
- WebAdminConfigurationHelper.cs
- ContextMarshalException.cs
- DataBoundControl.cs
- LinkedResource.cs
- Misc.cs
- EdgeModeValidation.cs
- InvalidCommandTreeException.cs
- x509store.cs
- TailCallAnalyzer.cs
- XmlSchema.cs
- HTTPNotFoundHandler.cs
- HttpRawResponse.cs
- EntityProviderFactory.cs
- CollectionViewGroupRoot.cs
- BorderSidesEditor.cs