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
- SponsorHelper.cs
- cryptoapiTransform.cs
- RectangleF.cs
- CodeStatement.cs
- InteropTrackingRecord.cs
- MethodToken.cs
- PropertyGrid.cs
- DataTableReaderListener.cs
- ValueUtilsSmi.cs
- BackStopAuthenticationModule.cs
- Path.cs
- ZipIOZip64EndOfCentralDirectoryBlock.cs
- WebPartExportVerb.cs
- FileDetails.cs
- Socket.cs
- MultitargetUtil.cs
- TrustManagerMoreInformation.cs
- DefaultValueTypeConverter.cs
- ContentPlaceHolderDesigner.cs
- sqlser.cs
- BaseTemplateCodeDomTreeGenerator.cs
- PageSettings.cs
- WorkflowPersistenceContext.cs
- ExtenderProvidedPropertyAttribute.cs
- CommonObjectSecurity.cs
- Rectangle.cs
- MsmqIntegrationProcessProtocolHandler.cs
- AlignmentXValidation.cs
- GridItem.cs
- DependencyPropertyValueSerializer.cs
- TextEffectResolver.cs
- DebugView.cs
- WCFModelStrings.Designer.cs
- ProfileInfo.cs
- PropertyItemInternal.cs
- WaitHandle.cs
- ObjectCacheHost.cs
- XsdBuilder.cs
- EntityViewGenerator.cs
- DataBoundControlHelper.cs
- EntityClassGenerator.cs
- DBDataPermissionAttribute.cs
- ConfigurationFileMap.cs
- XmlNodeChangedEventArgs.cs
- TabPage.cs
- DataGridAddNewRow.cs
- RecognizerInfo.cs
- VSWCFServiceContractGenerator.cs
- StructuralComparisons.cs
- RefreshEventArgs.cs
- PermissionSetTriple.cs
- StateItem.cs
- TextEndOfLine.cs
- StartUpEventArgs.cs
- EventMap.cs
- Int32CollectionConverter.cs
- ProcessRequestArgs.cs
- SkipStoryboardToFill.cs
- SelfIssuedAuthRSAPKCS1SignatureFormatter.cs
- XsltFunctions.cs
- WebServiceEnumData.cs
- PcmConverter.cs
- PersistenceTypeAttribute.cs
- InvalidComObjectException.cs
- BroadcastEventHelper.cs
- IdentityModelStringsVersion1.cs
- GenericEnumerator.cs
- XmlSerializableServices.cs
- BaseParaClient.cs
- WebPartHelpVerb.cs
- OdbcException.cs
- CheckBoxStandardAdapter.cs
- FileEnumerator.cs
- Dispatcher.cs
- WpfWebRequestHelper.cs
- TypePropertyEditor.cs
- WebReferenceOptions.cs
- PropertyDescriptor.cs
- CheckBoxBaseAdapter.cs
- RsaSecurityKey.cs
- ImportCatalogPart.cs
- HtmlWindow.cs
- SqlCacheDependencyDatabaseCollection.cs
- BitmapMetadataEnumerator.cs
- AlphabetConverter.cs
- ServiceMemoryGates.cs
- SizeF.cs
- PropertyItemInternal.cs
- EventLogEntry.cs
- CheckBoxFlatAdapter.cs
- MDIClient.cs
- DesignerSerializationVisibilityAttribute.cs
- LinkClickEvent.cs
- MouseActionConverter.cs
- Bits.cs
- BitmapEffectDrawing.cs
- PrivilegeNotHeldException.cs
- CompoundFileStreamReference.cs
- ViewStateModeByIdAttribute.cs
- ItemCheckEvent.cs