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
- oledbmetadatacollectionnames.cs
- BamlCollectionHolder.cs
- ArgumentElement.cs
- DataBindingsDialog.cs
- AssemblyHash.cs
- ColumnPropertiesGroup.cs
- DataView.cs
- ToolStripItemClickedEventArgs.cs
- GregorianCalendar.cs
- XmlDocument.cs
- SelfIssuedTokenFactoryCredential.cs
- ClientScriptManager.cs
- BitmapDownload.cs
- PropertyValueChangedEvent.cs
- DbConnectionPool.cs
- ReachPageContentCollectionSerializer.cs
- TextBox.cs
- BuildResult.cs
- AuthenticationConfig.cs
- AssociativeAggregationOperator.cs
- CompilerScopeManager.cs
- AppDomainManager.cs
- BitmapData.cs
- RichTextBox.cs
- EmptyEnumerator.cs
- DataGridLengthConverter.cs
- MetadataCache.cs
- WmpBitmapEncoder.cs
- XmlConvert.cs
- ArraySortHelper.cs
- FunctionDescription.cs
- GridViewEditEventArgs.cs
- SmtpException.cs
- DataControlButton.cs
- SHA1.cs
- FactoryId.cs
- UDPClient.cs
- LineGeometry.cs
- BmpBitmapEncoder.cs
- ExpressionParser.cs
- XmlSerializerNamespaces.cs
- Int16Storage.cs
- CornerRadius.cs
- Cursors.cs
- ApplicationSettingsBase.cs
- CodeIdentifiers.cs
- DataGridViewSelectedRowCollection.cs
- RemotingConfigParser.cs
- SQLMoneyStorage.cs
- ContentDisposition.cs
- XmlEnumAttribute.cs
- SuppressIldasmAttribute.cs
- SamlSecurityToken.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- Win32KeyboardDevice.cs
- ProfileSection.cs
- ToolStripHighContrastRenderer.cs
- SimpleType.cs
- WebUtil.cs
- HtmlTableCellCollection.cs
- DesignerVerbCollection.cs
- ArgumentValidation.cs
- Int32CollectionConverter.cs
- ContractTypeNameCollection.cs
- SafeCryptoHandles.cs
- Win32MouseDevice.cs
- DataGridColumnCollection.cs
- ClientCultureInfo.cs
- IndexedEnumerable.cs
- EdmItemCollection.cs
- ConfigurationFileMap.cs
- X509Certificate2.cs
- WindowsButton.cs
- StructuralType.cs
- RectangleConverter.cs
- AssemblyResourceLoader.cs
- Page.cs
- MessageEnumerator.cs
- RequestSecurityTokenForGetBrowserToken.cs
- TemplateInstanceAttribute.cs
- SystemException.cs
- SystemNetHelpers.cs
- DesignerOptionService.cs
- PointAnimationUsingKeyFrames.cs
- HttpCookieCollection.cs
- JsonGlobals.cs
- SettingsPropertyValue.cs
- SchemaImporter.cs
- TextUtf8RawTextWriter.cs
- ResourceExpressionEditorSheet.cs
- DurationConverter.cs
- ReferencedAssembly.cs
- NativeMethods.cs
- BufferAllocator.cs
- GroupBoxRenderer.cs
- ComplusTypeValidator.cs
- XomlCompilerHelpers.cs
- SQLSingleStorage.cs
- DbDataRecord.cs
- DoubleLinkList.cs