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
- IntermediatePolicyValidator.cs
- GenericPrincipal.cs
- Subtree.cs
- Pair.cs
- ControlType.cs
- AVElementHelper.cs
- BinaryWriter.cs
- HandleCollector.cs
- PrintingPermissionAttribute.cs
- DataTablePropertyDescriptor.cs
- CompilerInfo.cs
- TypeTypeConverter.cs
- TextServicesCompartmentContext.cs
- UndoEngine.cs
- DynamicValueConverter.cs
- ByteStack.cs
- NodeFunctions.cs
- BlockUIContainer.cs
- EditModeSwitchButton.cs
- Animatable.cs
- DocobjHost.cs
- UpdatePanelTrigger.cs
- IdentifierCreationService.cs
- JsonSerializer.cs
- EmbeddedObject.cs
- MediaContextNotificationWindow.cs
- PointConverter.cs
- DetailsViewUpdateEventArgs.cs
- SemaphoreFullException.cs
- StateItem.cs
- ElementProxy.cs
- PtsHelper.cs
- ItemList.cs
- SchemaTableOptionalColumn.cs
- HitTestFilterBehavior.cs
- VsPropertyGrid.cs
- StylusEventArgs.cs
- WebRequestModuleElement.cs
- FileNameEditor.cs
- HashSetDebugView.cs
- LightweightCodeGenerator.cs
- DocumentAutomationPeer.cs
- SafePointer.cs
- DateTimeFormatInfo.cs
- TextTreeText.cs
- DaylightTime.cs
- loginstatus.cs
- ResourceManagerWrapper.cs
- XmlValidatingReader.cs
- CheckBoxFlatAdapter.cs
- ReflectionTypeLoadException.cs
- PropertyChangingEventArgs.cs
- XmlBufferReader.cs
- EntityDataSourceState.cs
- OdbcConnectionStringbuilder.cs
- Misc.cs
- LinqDataSourceValidationException.cs
- CodeCatchClause.cs
- BitStack.cs
- Rijndael.cs
- PerSessionInstanceContextProvider.cs
- WebBrowserHelper.cs
- CheckPair.cs
- CellPartitioner.cs
- CharUnicodeInfo.cs
- ObjectViewQueryResultData.cs
- LoginDesigner.cs
- SID.cs
- StructuredProperty.cs
- SynchronizedDispatch.cs
- OdbcConnectionString.cs
- StandardCommandToolStripMenuItem.cs
- ProxyAttribute.cs
- dbdatarecord.cs
- _AuthenticationState.cs
- OdbcConnectionOpen.cs
- HitTestResult.cs
- MachinePropertyVariants.cs
- PngBitmapDecoder.cs
- XamlSerializer.cs
- SmiEventStream.cs
- SafeHandle.cs
- ListBoxChrome.cs
- RequestCacheEntry.cs
- GlyphShapingProperties.cs
- CodeExpressionCollection.cs
- DoubleCollection.cs
- DesignTimeDataBinding.cs
- TableItemStyle.cs
- UnicodeEncoding.cs
- OleDbParameter.cs
- OrderByQueryOptionExpression.cs
- ErrorRuntimeConfig.cs
- StreamingContext.cs
- TaiwanCalendar.cs
- IndependentAnimationStorage.cs
- CharacterMetrics.cs
- VirtualPath.cs
- ImageCodecInfo.cs
- ObjectSet.cs