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
- ProjectedWrapper.cs
- SharedUtils.cs
- ImageConverter.cs
- LinearKeyFrames.cs
- Command.cs
- EntityDataSourceViewSchema.cs
- KeyProperty.cs
- ExceptionUtil.cs
- ProcessHostMapPath.cs
- DecimalConverter.cs
- lengthconverter.cs
- ReferencedCollectionType.cs
- RotateTransform3D.cs
- PkcsUtils.cs
- TimeSpanOrInfiniteConverter.cs
- SortedDictionary.cs
- SqlRecordBuffer.cs
- Exceptions.cs
- XamlTreeBuilderBamlRecordWriter.cs
- HMAC.cs
- Base64Encoder.cs
- ProfileEventArgs.cs
- Matrix.cs
- LogSwitch.cs
- ApplicationInfo.cs
- HwndHost.cs
- GeneralTransform3DCollection.cs
- ToolBarTray.cs
- FlowNode.cs
- ToolboxSnapDragDropEventArgs.cs
- CaseKeyBox.ViewModel.cs
- ListViewGroupConverter.cs
- StringConverter.cs
- PropertyTab.cs
- LocationEnvironment.cs
- DockPatternIdentifiers.cs
- ToolboxComponentsCreatedEventArgs.cs
- CultureInfo.cs
- MenuCommand.cs
- ConnectionConsumerAttribute.cs
- TraceHandler.cs
- CompatibleComparer.cs
- RetrieveVirtualItemEventArgs.cs
- WindowsButton.cs
- ActivityBuilder.cs
- SerializationEventsCache.cs
- ImageButton.cs
- EntityContainer.cs
- elementinformation.cs
- WebPageTraceListener.cs
- TransformValueSerializer.cs
- ISCIIEncoding.cs
- FontSizeConverter.cs
- Location.cs
- WebPartCatalogAddVerb.cs
- XmlExpressionDumper.cs
- ExeConfigurationFileMap.cs
- OdbcError.cs
- NetworkCredential.cs
- MediaElementAutomationPeer.cs
- IncrementalReadDecoders.cs
- XsdBuilder.cs
- QuaternionIndependentAnimationStorage.cs
- SQLDateTime.cs
- ColorConvertedBitmapExtension.cs
- BufferModeSettings.cs
- HtmlTernaryTree.cs
- XmlCountingReader.cs
- XsltSettings.cs
- ServerIdentity.cs
- SystemKeyConverter.cs
- Win32Exception.cs
- ListenerTraceUtility.cs
- DateTimeOffsetAdapter.cs
- ADMembershipProvider.cs
- UIElement.cs
- SizeConverter.cs
- MimeMultiPart.cs
- PiiTraceSource.cs
- ErrorEventArgs.cs
- CommonGetThemePartSize.cs
- CompilationRelaxations.cs
- Lazy.cs
- HMACSHA512.cs
- Error.cs
- ListViewInsertEventArgs.cs
- HandoffBehavior.cs
- GroupStyle.cs
- MDIWindowDialog.cs
- DecoratedNameAttribute.cs
- CellConstant.cs
- HttpValueCollection.cs
- RequiredFieldValidator.cs
- FreezableCollection.cs
- Geometry3D.cs
- XmlLoader.cs
- Int16AnimationBase.cs
- GlyphingCache.cs
- WpfGeneratedKnownTypes.cs
- ThicknessAnimationBase.cs