Code:
/ FX-1434 / FX-1434 / 1.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
- MetafileHeaderWmf.cs
- PersonalizationState.cs
- FunctionParameter.cs
- PseudoWebRequest.cs
- FixedSOMImage.cs
- TreeView.cs
- XsdBuildProvider.cs
- RightsManagementEncryptionTransform.cs
- ContextMenuStripGroupCollection.cs
- SR.cs
- EntityViewGenerationAttribute.cs
- LassoHelper.cs
- CounterSet.cs
- ByeMessage11.cs
- CapabilitiesSection.cs
- FamilyMap.cs
- Drawing.cs
- CommaDelimitedStringAttributeCollectionConverter.cs
- ActivityDesignerHelper.cs
- RightsManagementManager.cs
- AnnotationResourceCollection.cs
- FixedNode.cs
- Enlistment.cs
- InputManager.cs
- AccessedThroughPropertyAttribute.cs
- ContentControl.cs
- StrokeNodeData.cs
- OleDbParameter.cs
- DrawListViewColumnHeaderEventArgs.cs
- GeneralTransform3D.cs
- ContainerUtilities.cs
- UnsafeNativeMethods.cs
- LinqDataSourceUpdateEventArgs.cs
- Button.cs
- WeakKeyDictionary.cs
- EnumDataContract.cs
- FilteredDataSetHelper.cs
- AuthenticationConfig.cs
- TraceEventCache.cs
- RedBlackList.cs
- PreProcessor.cs
- HijriCalendar.cs
- CharAnimationBase.cs
- GridErrorDlg.cs
- QilGeneratorEnv.cs
- ConsumerConnectionPoint.cs
- ZipIOFileItemStream.cs
- DataPager.cs
- VectorAnimationBase.cs
- Touch.cs
- HierarchicalDataBoundControl.cs
- SchemaAttDef.cs
- TimeSpanSecondsConverter.cs
- CacheHelper.cs
- DataRowView.cs
- OdbcConnectionString.cs
- SynchronizationLockException.cs
- ObjectDataSourceView.cs
- DBBindings.cs
- SamlAttribute.cs
- Substitution.cs
- StorageEntityTypeMapping.cs
- selecteditemcollection.cs
- SubstitutionList.cs
- DataTableClearEvent.cs
- NegatedCellConstant.cs
- _ConnectionGroup.cs
- StringPropertyBuilder.cs
- SqlDataSourceStatusEventArgs.cs
- HiddenFieldPageStatePersister.cs
- XmlTextReaderImplHelpers.cs
- ChangeBlockUndoRecord.cs
- DataGridViewRow.cs
- MimeBasePart.cs
- SwitchLevelAttribute.cs
- HtmlButton.cs
- BaseCodePageEncoding.cs
- ControlParameter.cs
- DataGridPageChangedEventArgs.cs
- OrderedDictionary.cs
- WebHttpDispatchOperationSelector.cs
- Executor.cs
- FontFamily.cs
- TextRenderer.cs
- BitmapSourceSafeMILHandle.cs
- ElementsClipboardData.cs
- ProcessProtocolHandler.cs
- AvtEvent.cs
- SystemColorTracker.cs
- NumberFunctions.cs
- StringKeyFrameCollection.cs
- WebPartMenu.cs
- HttpChannelBindingToken.cs
- CodeVariableReferenceExpression.cs
- Int64Animation.cs
- SiteMapPath.cs
- AlignmentXValidation.cs
- ParseChildrenAsPropertiesAttribute.cs
- BevelBitmapEffect.cs
- ClientTarget.cs