Code:
/ 4.0 / 4.0 / untmp / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- TemplateControl.cs
- Switch.cs
- ToolStripMenuItem.cs
- IERequestCache.cs
- SqlConnectionPoolProviderInfo.cs
- LogWriteRestartAreaAsyncResult.cs
- CacheMode.cs
- RuntimeHandles.cs
- LiteralControl.cs
- HtmlWindowCollection.cs
- ChunkedMemoryStream.cs
- ParenthesizePropertyNameAttribute.cs
- TextEndOfParagraph.cs
- GridViewRow.cs
- WorkflowViewElement.cs
- ScrollableControlDesigner.cs
- XmlBinaryReaderSession.cs
- ContainerUIElement3D.cs
- IgnoreFlushAndCloseStream.cs
- DataGridViewRowsRemovedEventArgs.cs
- ReadOnlyMetadataCollection.cs
- OdbcParameter.cs
- TagPrefixInfo.cs
- CombinedGeometry.cs
- XmlEnumAttribute.cs
- PackagePartCollection.cs
- ResetableIterator.cs
- LongMinMaxAggregationOperator.cs
- PartialCachingControl.cs
- TypeElement.cs
- RepeatInfo.cs
- SchemaNames.cs
- ConnectionManagementElement.cs
- AnimatedTypeHelpers.cs
- CommandTreeTypeHelper.cs
- ParseNumbers.cs
- BuildProvider.cs
- ExceptionTrace.cs
- ZipIOLocalFileBlock.cs
- HostUtils.cs
- __Filters.cs
- RunWorkerCompletedEventArgs.cs
- HitTestDrawingContextWalker.cs
- SystemFonts.cs
- IIS7WorkerRequest.cs
- ListViewDataItem.cs
- FilteredDataSetHelper.cs
- ServicePointManager.cs
- QfeChecker.cs
- ComponentSerializationService.cs
- HttpHandlersInstallComponent.cs
- XmlCharCheckingReader.cs
- IISUnsafeMethods.cs
- DbDeleteCommandTree.cs
- Int64Converter.cs
- ArrayList.cs
- SqlUserDefinedAggregateAttribute.cs
- EditingMode.cs
- InheritanceContextHelper.cs
- FrameworkTemplate.cs
- CachingHintValidation.cs
- ObjectTypeMapping.cs
- SByteConverter.cs
- SystemIPInterfaceProperties.cs
- WorkflowTimerService.cs
- SQLBytes.cs
- FileChangesMonitor.cs
- DataGridRow.cs
- SafeEventLogWriteHandle.cs
- ReadOnlyDictionary.cs
- ToolStripScrollButton.cs
- GenerateDerivedKeyRequest.cs
- EmptyImpersonationContext.cs
- odbcmetadatacolumnnames.cs
- SpotLight.cs
- DiscardableAttribute.cs
- SelectedGridItemChangedEvent.cs
- GlobalDataBindingHandler.cs
- RowSpanVector.cs
- Rotation3DKeyFrameCollection.cs
- StoragePropertyMapping.cs
- ScriptManagerProxy.cs
- BindValidator.cs
- BackgroundFormatInfo.cs
- ColorContext.cs
- Interlocked.cs
- Point.cs
- ClientSettings.cs
- NumberFormatter.cs
- ConfigurationHandlersInstallComponent.cs
- ButtonFlatAdapter.cs
- DbgUtil.cs
- RedirectionProxy.cs
- StreamAsIStream.cs
- Viewport3DAutomationPeer.cs
- _HeaderInfoTable.cs
- TypeResolver.cs
- Parser.cs
- PriorityItem.cs
- UIElement3D.cs