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
- GeneralTransformGroup.cs
- NamespaceEmitter.cs
- CodeBinaryOperatorExpression.cs
- FormViewCommandEventArgs.cs
- ButtonFieldBase.cs
- PeerEndPoint.cs
- SessionState.cs
- MaskedTextProvider.cs
- PathSegmentCollection.cs
- PerformanceCounterPermissionEntryCollection.cs
- EntityWrapper.cs
- EventsTab.cs
- ToolStripItemClickedEventArgs.cs
- Dictionary.cs
- DataGridViewAdvancedBorderStyle.cs
- XmlDataDocument.cs
- MailWebEventProvider.cs
- StandardToolWindows.cs
- TypeRefElement.cs
- SystemIPInterfaceProperties.cs
- ClientFactory.cs
- ChangeProcessor.cs
- AuthenticationConfig.cs
- Bits.cs
- TlsSspiNegotiation.cs
- BigInt.cs
- XmlException.cs
- HashLookup.cs
- ProfileWorkflowElement.cs
- InvalidDataException.cs
- MultilineStringEditor.cs
- InputElement.cs
- Point3D.cs
- InvalidFilterCriteriaException.cs
- Util.cs
- PersonalizationEntry.cs
- ContainsRowNumberChecker.cs
- elementinformation.cs
- ICspAsymmetricAlgorithm.cs
- SecuritySessionSecurityTokenAuthenticator.cs
- DataListItemEventArgs.cs
- EncryptedXml.cs
- ForeignConstraint.cs
- DataExpression.cs
- DataGridViewCellFormattingEventArgs.cs
- SQLByte.cs
- ConfigWriter.cs
- documentsequencetextview.cs
- DBParameter.cs
- OleDbWrapper.cs
- Inflater.cs
- ThousandthOfEmRealPoints.cs
- SerializerDescriptor.cs
- xmlfixedPageInfo.cs
- DataException.cs
- SecurityHelper.cs
- MessageQueueInstaller.cs
- DataSourceProvider.cs
- CounterCreationDataCollection.cs
- ProcessHost.cs
- AbstractDataSvcMapFileLoader.cs
- RowVisual.cs
- CaseInsensitiveComparer.cs
- GridViewRow.cs
- Trigger.cs
- BamlLocalizableResource.cs
- ContractReference.cs
- HostedHttpRequestAsyncResult.cs
- NavigationWindowAutomationPeer.cs
- UriScheme.cs
- ToolboxBitmapAttribute.cs
- ThicknessAnimation.cs
- Input.cs
- Encoder.cs
- invalidudtexception.cs
- MonitoringDescriptionAttribute.cs
- DateTimePicker.cs
- InstanceDataCollection.cs
- AudioBase.cs
- MethodBuilderInstantiation.cs
- TemplateBaseAction.cs
- InheritanceUI.cs
- SelectionHighlightInfo.cs
- prompt.cs
- NativeCompoundFileAPIs.cs
- DataServiceQuery.cs
- FormatSettings.cs
- ModuleBuilderData.cs
- Form.cs
- ManagementOptions.cs
- DeclaredTypeElementCollection.cs
- FormViewUpdateEventArgs.cs
- SqlTrackingQuery.cs
- DbSource.cs
- SqlFactory.cs
- ImageCollectionCodeDomSerializer.cs
- DriveInfo.cs
- HasCopySemanticsAttribute.cs
- sqlinternaltransaction.cs
- TemplateNameScope.cs