Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / 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; } } } }
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- VisualStyleElement.cs
- Int16Storage.cs
- HTMLTextWriter.cs
- System.Data_BID.cs
- SharedPersonalizationStateInfo.cs
- CodeMethodInvokeExpression.cs
- CodeCatchClause.cs
- PerformanceCounterPermissionEntry.cs
- GC.cs
- RegistryKey.cs
- RuleSetDialog.cs
- BitmapEffectCollection.cs
- EdmComplexTypeAttribute.cs
- ValueSerializer.cs
- WsdlInspector.cs
- X509UI.cs
- Effect.cs
- StrokeRenderer.cs
- listitem.cs
- StaticSiteMapProvider.cs
- PropertyEmitterBase.cs
- Parameter.cs
- InternalBase.cs
- SQLDateTime.cs
- LayoutEditorPart.cs
- _SafeNetHandles.cs
- VerticalAlignConverter.cs
- Qualifier.cs
- AssemblyAttributesGoHere.cs
- EmptyQuery.cs
- DataListCommandEventArgs.cs
- RowUpdatingEventArgs.cs
- XmlLinkedNode.cs
- PropertyConverter.cs
- DataGridClipboardCellContent.cs
- ValidationErrorEventArgs.cs
- unitconverter.cs
- HitTestParameters3D.cs
- UserNamePasswordValidationMode.cs
- ConnectionManagementSection.cs
- TraceUtils.cs
- HandlerBase.cs
- HttpServerProtocol.cs
- CompilerErrorCollection.cs
- MSAAEventDispatcher.cs
- NextPreviousPagerField.cs
- SHA384.cs
- Filter.cs
- RoleService.cs
- DocumentSequenceHighlightLayer.cs
- ObjectMemberMapping.cs
- CodeFieldReferenceExpression.cs
- DocumentPageTextView.cs
- AliasedSlot.cs
- XmlDataImplementation.cs
- OperatingSystem.cs
- BaseValidator.cs
- MailMessage.cs
- SystemTcpStatistics.cs
- RowBinding.cs
- KnownColorTable.cs
- HMACSHA256.cs
- DeviceContext.cs
- HttpRawResponse.cs
- MemoryMappedView.cs
- Substitution.cs
- OrderByQueryOptionExpression.cs
- RoleManagerEventArgs.cs
- CriticalExceptions.cs
- EnumConverter.cs
- _AutoWebProxyScriptHelper.cs
- FieldDescriptor.cs
- SiteMapHierarchicalDataSourceView.cs
- QueryPageSettingsEventArgs.cs
- TableLayoutPanel.cs
- XmlTypeMapping.cs
- ClientProxyGenerator.cs
- ReadOnlyDataSource.cs
- GeneralTransform3DGroup.cs
- QueryOperationResponseOfT.cs
- ECDsaCng.cs
- DataGridViewCellConverter.cs
- CharacterBuffer.cs
- CodeAttributeArgument.cs
- Debug.cs
- DataPagerCommandEventArgs.cs
- SmtpSection.cs
- WindowsGraphics.cs
- FilterEventArgs.cs
- hwndwrapper.cs
- JumpList.cs
- PowerModeChangedEventArgs.cs
- ComEventsInfo.cs
- MatcherBuilder.cs
- CroppedBitmap.cs
- ZoneMembershipCondition.cs
- X509ThumbprintKeyIdentifierClause.cs
- TreeViewImageIndexConverter.cs
- IndependentlyAnimatedPropertyMetadata.cs
- RenderTargetBitmap.cs