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
- TargetConverter.cs
- DataGridViewColumnHeaderCell.cs
- MetadataArtifactLoader.cs
- ItemCollection.cs
- ScrollChangedEventArgs.cs
- X509KeyIdentifierClauseType.cs
- Int32Storage.cs
- PackWebResponse.cs
- ReadOnlyAttribute.cs
- SamlAuthorizationDecisionStatement.cs
- DataBoundControlParameterTarget.cs
- DataGridViewDataConnection.cs
- IteratorAsyncResult.cs
- DetailsViewModeEventArgs.cs
- ByteConverter.cs
- SortedSetDebugView.cs
- SpotLight.cs
- SessionIDManager.cs
- WebControl.cs
- IncrementalHitTester.cs
- UIInitializationException.cs
- Floater.cs
- EncodingTable.cs
- SqlBulkCopy.cs
- DataTableReader.cs
- SchemaLookupTable.cs
- ValidationManager.cs
- ListViewEditEventArgs.cs
- RotateTransform3D.cs
- FamilyTypefaceCollection.cs
- InvokePattern.cs
- WebPartActionVerb.cs
- ProxySimple.cs
- DrawingBrush.cs
- Vector3D.cs
- Vertex.cs
- NavigatorOutput.cs
- PrimitiveDataContract.cs
- HotSpotCollection.cs
- ArraySubsetEnumerator.cs
- Latin1Encoding.cs
- ConsoleTraceListener.cs
- EpmSyndicationContentDeSerializer.cs
- CultureSpecificStringDictionary.cs
- EncoderReplacementFallback.cs
- ApplicationSettingsBase.cs
- CharEnumerator.cs
- BufferedStream.cs
- VerificationException.cs
- TextEncodedRawTextWriter.cs
- Lasso.cs
- SocketException.cs
- MobileFormsAuthentication.cs
- StreamInfo.cs
- PropertyCollection.cs
- IisTraceWebEventProvider.cs
- StickyNoteContentControl.cs
- AccessDataSourceView.cs
- ImagingCache.cs
- SettingsProviderCollection.cs
- DataGridTextBox.cs
- ImageCodecInfoPrivate.cs
- NativeMethodsCLR.cs
- IntAverageAggregationOperator.cs
- IIS7WorkerRequest.cs
- WebReferenceOptions.cs
- ProxyWebPartConnectionCollection.cs
- ProfessionalColorTable.cs
- DecimalAnimationUsingKeyFrames.cs
- Utils.cs
- KeyedCollection.cs
- Models.cs
- ToolboxItem.cs
- HtmlContainerControl.cs
- DataGridLinkButton.cs
- SqlDependencyListener.cs
- OdbcConnection.cs
- CodeRegionDirective.cs
- FaultConverter.cs
- PropertyIDSet.cs
- X509UI.cs
- _StreamFramer.cs
- HttpResponseInternalWrapper.cs
- ColumnBinding.cs
- SequenceNumber.cs
- SingleTagSectionHandler.cs
- QilScopedVisitor.cs
- UrlParameterWriter.cs
- EntityClassGenerator.cs
- UndoUnit.cs
- MenuItemStyleCollection.cs
- FunctionDefinition.cs
- AmbiguousMatchException.cs
- ListenerElementsCollection.cs
- xml.cs
- CalculatedColumn.cs
- DllNotFoundException.cs
- HttpStreamMessage.cs
- mediaclock.cs
- ProjectionPruner.cs