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
- IndicShape.cs
- DataSourceCache.cs
- XpsS0ValidatingLoader.cs
- ChangePasswordAutoFormat.cs
- DrawListViewSubItemEventArgs.cs
- ChtmlPageAdapter.cs
- TabControl.cs
- ProfilePropertySettings.cs
- HttpPostedFile.cs
- HandlerFactoryWrapper.cs
- TreeNodeCollection.cs
- SecurityProtocol.cs
- PnrpPermission.cs
- BinaryNode.cs
- OdbcFactory.cs
- TableDetailsRow.cs
- ListViewItemCollectionEditor.cs
- ActiveDesignSurfaceEvent.cs
- RequestCacheValidator.cs
- FieldToken.cs
- XmlObjectSerializerContext.cs
- BaseDataList.cs
- TextElementAutomationPeer.cs
- TypedAsyncResult.cs
- ThreadNeutralSemaphore.cs
- ConnectionPoint.cs
- Win32Native.cs
- BufferedGraphicsManager.cs
- TrackingQueryElement.cs
- ObjectPropertyMapping.cs
- ParseNumbers.cs
- PeerApplicationLaunchInfo.cs
- EventWaitHandle.cs
- ELinqQueryState.cs
- AnimationLayer.cs
- RenderOptions.cs
- PointCollectionValueSerializer.cs
- SimpleApplicationHost.cs
- PrimitiveSchema.cs
- OLEDB_Util.cs
- DesignerVerbCollection.cs
- DataGridViewDataErrorEventArgs.cs
- GAC.cs
- SqlUserDefinedTypeAttribute.cs
- ApplicationException.cs
- SchemeSettingElementCollection.cs
- controlskin.cs
- TextureBrush.cs
- NetworkInformationPermission.cs
- MSAANativeProvider.cs
- XmlBufferReader.cs
- XmlMapping.cs
- SplineKeyFrames.cs
- EntityDesignerDataSourceView.cs
- PenContexts.cs
- PolyBezierSegment.cs
- PerfService.cs
- GroupDescription.cs
- SafeEventHandle.cs
- RelatedCurrencyManager.cs
- ToolStripSplitStackLayout.cs
- IgnoreFileBuildProvider.cs
- Process.cs
- RIPEMD160.cs
- NativeWindow.cs
- CqlParserHelpers.cs
- SimpleRecyclingCache.cs
- XmlSchemaFacet.cs
- ModifiableIteratorCollection.cs
- ToolStripCustomTypeDescriptor.cs
- XmlSerializerVersionAttribute.cs
- SqlMetaData.cs
- GradientStop.cs
- WinFormsSecurity.cs
- DescendantBaseQuery.cs
- ConfigurationManager.cs
- ItemList.cs
- ReadContentAsBinaryHelper.cs
- PerformanceCounterPermission.cs
- DrawingDrawingContext.cs
- SponsorHelper.cs
- ISAPIWorkerRequest.cs
- CompilerScopeManager.cs
- WebSysDefaultValueAttribute.cs
- InputBinding.cs
- _ContextAwareResult.cs
- PassportAuthenticationModule.cs
- DataContext.cs
- baseaxisquery.cs
- MenuItem.cs
- XmlNamespaceMapping.cs
- ElementMarkupObject.cs
- DataGridViewColumnConverter.cs
- Int64AnimationBase.cs
- XmlAnyElementAttribute.cs
- TemplateField.cs
- XmlSchemaSimpleTypeList.cs
- QueryStringConverter.cs
- FileDetails.cs
- XmlSchemaExporter.cs