Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- TextEditorParagraphs.cs
- XmlComplianceUtil.cs
- RoleGroupCollection.cs
- EllipseGeometry.cs
- TransformPattern.cs
- DataPagerFieldItem.cs
- SqlFlattener.cs
- PackageStore.cs
- TextServicesDisplayAttribute.cs
- CurrentChangingEventArgs.cs
- DirectoryObjectSecurity.cs
- UnsafeNativeMethods.cs
- RenderingBiasValidation.cs
- XmlNavigatorFilter.cs
- AssemblyHash.cs
- wgx_commands.cs
- GridViewColumnHeader.cs
- SqlNotificationRequest.cs
- SortQuery.cs
- TdsParserStateObject.cs
- HttpClientCertificate.cs
- ScriptHandlerFactory.cs
- TextLine.cs
- SolidColorBrush.cs
- ObjectDataSourceView.cs
- Border.cs
- Column.cs
- safelinkcollection.cs
- ThreadNeutralSemaphore.cs
- JsonDeserializer.cs
- InputScopeNameConverter.cs
- UserMapPath.cs
- PropertyFilterAttribute.cs
- FolderBrowserDialog.cs
- XmlNodeComparer.cs
- WebPartAuthorizationEventArgs.cs
- MediaPlayerState.cs
- LicenseManager.cs
- LogStore.cs
- ChangePasswordAutoFormat.cs
- WindowsStatic.cs
- DataSourceConverter.cs
- Opcode.cs
- EventToken.cs
- GridViewEditEventArgs.cs
- ScriptServiceAttribute.cs
- ErrorView.xaml.cs
- XmlBinaryWriter.cs
- TableLayoutCellPaintEventArgs.cs
- IntSecurity.cs
- PerformanceCounterManager.cs
- SortKey.cs
- OperationInfo.cs
- TextProperties.cs
- XmlSerializerSection.cs
- CustomValidator.cs
- HtmlInputControl.cs
- ObjectStateEntry.cs
- TableLayoutPanelCodeDomSerializer.cs
- FrameworkTemplate.cs
- DateTimeConverter2.cs
- XmlFormatWriterGenerator.cs
- MetadataItemSerializer.cs
- LocationEnvironment.cs
- FloaterParaClient.cs
- MemberPath.cs
- Color.cs
- ConditionedDesigner.cs
- SapiInterop.cs
- FileStream.cs
- ToolZone.cs
- ListViewSortEventArgs.cs
- GroupStyle.cs
- ForceCopyBuildProvider.cs
- CodeBinaryOperatorExpression.cs
- CodeParameterDeclarationExpression.cs
- SecurityDocument.cs
- LocatorPart.cs
- DataStreamFromComStream.cs
- ButtonBaseAutomationPeer.cs
- controlskin.cs
- CopyCodeAction.cs
- WindowAutomationPeer.cs
- WindowsIdentity.cs
- DragDrop.cs
- DataGridAutoFormat.cs
- ApplyImportsAction.cs
- KeyNotFoundException.cs
- ResourceSet.cs
- TextTreeInsertUndoUnit.cs
- AdornerHitTestResult.cs
- TextMarkerSource.cs
- SimpleApplicationHost.cs
- SecurityTokenContainer.cs
- CaseInsensitiveOrdinalStringComparer.cs
- TraceContextRecord.cs
- DoubleAnimationUsingPath.cs
- Journaling.cs
- FolderLevelBuildProviderCollection.cs
- CodeFieldReferenceExpression.cs