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
- EnumBuilder.cs
- CodeLinePragma.cs
- CachedCompositeFamily.cs
- ZipIOLocalFileDataDescriptor.cs
- DataMemberListEditor.cs
- ItemList.cs
- WebEventTraceProvider.cs
- WorkerRequest.cs
- OSFeature.cs
- SerialStream.cs
- LateBoundBitmapDecoder.cs
- Parsers.cs
- WorkflowView.cs
- DbDataAdapter.cs
- UIElement.cs
- SqlDataSourceEnumerator.cs
- DocumentGridContextMenu.cs
- EventSourceCreationData.cs
- SpeakInfo.cs
- SmtpFailedRecipientException.cs
- QilFactory.cs
- FunctionDetailsReader.cs
- AuthorizationSection.cs
- Rfc2898DeriveBytes.cs
- exports.cs
- UIElement.cs
- altserialization.cs
- Underline.cs
- DocumentViewerBase.cs
- MetadataUtil.cs
- TypefaceMetricsCache.cs
- CodeSnippetTypeMember.cs
- BaseParagraph.cs
- TreeViewDesigner.cs
- SelectionWordBreaker.cs
- Attributes.cs
- XmlNullResolver.cs
- EmptyQuery.cs
- DoubleStorage.cs
- InternalsVisibleToAttribute.cs
- JsonQueryStringConverter.cs
- ScrollEvent.cs
- Rotation3DKeyFrameCollection.cs
- FormView.cs
- UserControlBuildProvider.cs
- ManagedFilter.cs
- ExtensionWindow.cs
- SamlNameIdentifierClaimResource.cs
- IApplicationTrustManager.cs
- DataGridAddNewRow.cs
- CodeTypeDeclarationCollection.cs
- SkinBuilder.cs
- DuplicateDetector.cs
- XmlSchema.cs
- Claim.cs
- GenerateTemporaryTargetAssembly.cs
- MetaData.cs
- HttpCacheParams.cs
- ListDictionary.cs
- UInt16.cs
- Comparer.cs
- SqlProviderManifest.cs
- XmlLanguage.cs
- PerfCounters.cs
- ExtractedStateEntry.cs
- EventLevel.cs
- RowType.cs
- XslCompiledTransform.cs
- Stack.cs
- UdpTransportSettingsElement.cs
- ValidationHelper.cs
- OperandQuery.cs
- Rotation3DAnimationBase.cs
- IsolatedStorageFilePermission.cs
- mediaclock.cs
- BulletDecorator.cs
- BrowserInteropHelper.cs
- PropertyInformation.cs
- DataGridViewSelectedCellCollection.cs
- FrameworkElementAutomationPeer.cs
- ToolStripItemCollection.cs
- GuidConverter.cs
- DataGridViewCellValidatingEventArgs.cs
- PkcsUtils.cs
- ADMembershipProvider.cs
- HttpsChannelFactory.cs
- AdornerPresentationContext.cs
- SqlCacheDependencySection.cs
- DataGridViewColumnCollectionDialog.cs
- HtmlUtf8RawTextWriter.cs
- RawStylusInput.cs
- EventRouteFactory.cs
- SelectionListComponentEditor.cs
- ItemContainerGenerator.cs
- XmlTypeAttribute.cs
- BinaryObjectWriter.cs
- RectangleHotSpot.cs
- DesignerTextBoxAdapter.cs
- NativeMethods.cs
- CLRBindingWorker.cs