Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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; } } } }
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SynchronizedReadOnlyCollection.cs
- MouseEventArgs.cs
- PostBackOptions.cs
- DriveInfo.cs
- BlockUIContainer.cs
- NullableIntAverageAggregationOperator.cs
- CodeDelegateInvokeExpression.cs
- SqlTransaction.cs
- xdrvalidator.cs
- ProcessProtocolHandler.cs
- ListItemCollection.cs
- ProviderCollection.cs
- GeneralTransform3DGroup.cs
- ComponentDispatcherThread.cs
- Int64AnimationUsingKeyFrames.cs
- TableHeaderCell.cs
- filewebresponse.cs
- ReflectTypeDescriptionProvider.cs
- TextRenderer.cs
- ManipulationPivot.cs
- StyleSelector.cs
- x509store.cs
- HtmlGenericControl.cs
- TypedOperationInfo.cs
- RemotingConfigParser.cs
- xdrvalidator.cs
- DbProviderFactories.cs
- DataTableClearEvent.cs
- TextServicesPropertyRanges.cs
- ResourcePermissionBase.cs
- PermissionSetEnumerator.cs
- EnvelopedPkcs7.cs
- RotateTransform3D.cs
- InvokeProviderWrapper.cs
- MemoryMappedView.cs
- DateTimeConstantAttribute.cs
- ProcessHostFactoryHelper.cs
- Visual.cs
- ErrorWebPart.cs
- RemotingSurrogateSelector.cs
- ListViewItemMouseHoverEvent.cs
- Visitor.cs
- IIS7WorkerRequest.cs
- EndEvent.cs
- PathGeometry.cs
- EditorZoneDesigner.cs
- SecurityUtils.cs
- XmlBufferReader.cs
- listitem.cs
- ConnectionStringEditor.cs
- XmlEventCache.cs
- ErrorFormatter.cs
- COAUTHIDENTITY.cs
- Int64Storage.cs
- LinqDataSourceSelectEventArgs.cs
- CaseInsensitiveHashCodeProvider.cs
- UnsafeNativeMethodsMilCoreApi.cs
- SimpleNameService.cs
- _ProxyChain.cs
- WebServiceClientProxyGenerator.cs
- FixedSOMLineCollection.cs
- CacheSection.cs
- SafeCryptContextHandle.cs
- BuildProvider.cs
- ConnectionOrientedTransportBindingElement.cs
- __ComObject.cs
- PartialClassGenerationTask.cs
- SqlRemoveConstantOrderBy.cs
- PageBuildProvider.cs
- ArrangedElementCollection.cs
- SelectionEditor.cs
- XmlComment.cs
- GlobalEventManager.cs
- ConnectionInterfaceCollection.cs
- XmlJsonWriter.cs
- XmlReaderDelegator.cs
- PackWebResponse.cs
- DataTemplateSelector.cs
- FlowDocumentReaderAutomationPeer.cs
- RightNameExpirationInfoPair.cs
- AsyncCompletedEventArgs.cs
- BindingWorker.cs
- MenuItemBindingCollection.cs
- ReferenceService.cs
- TextPointerBase.cs
- DesignerWithHeader.cs
- ControlCollection.cs
- OracleBoolean.cs
- DefaultMemberAttribute.cs
- PathTooLongException.cs
- ZipIOZip64EndOfCentralDirectoryBlock.cs
- CommonRemoteMemoryBlock.cs
- ScrollData.cs
- Frame.cs
- FixedTextBuilder.cs
- ReferencedAssembly.cs
- TemplateKey.cs
- CoTaskMemHandle.cs
- LinkLabelLinkClickedEvent.cs
- CodeArrayIndexerExpression.cs