Code:
/ 4.0 / 4.0 / 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. //------------------------------------------------------------------------------ //// 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
- SymmetricSecurityProtocol.cs
- HotCommands.cs
- OleDbStruct.cs
- KnownTypes.cs
- MatchingStyle.cs
- DataMemberAttribute.cs
- PropertyCondition.cs
- Point3DKeyFrameCollection.cs
- EntityModelSchemaGenerator.cs
- ProgressBar.cs
- QueryAccessibilityHelpEvent.cs
- PasswordRecovery.cs
- DbgUtil.cs
- TimeoutConverter.cs
- SqlStatistics.cs
- ScriptControl.cs
- TableRow.cs
- NullReferenceException.cs
- XamlTypeWithExplicitNamespace.cs
- SafeBitVector32.cs
- EventSetter.cs
- SEHException.cs
- PlainXmlDeserializer.cs
- Positioning.cs
- DoubleLink.cs
- COSERVERINFO.cs
- SwitchAttribute.cs
- DataStorage.cs
- InstanceOwner.cs
- sqlnorm.cs
- ConstructorArgumentAttribute.cs
- TextReturnReader.cs
- ValidationManager.cs
- FontCollection.cs
- ReadOnlyDictionary.cs
- _Semaphore.cs
- OracleCommandBuilder.cs
- PeerNameRecordCollection.cs
- CountAggregationOperator.cs
- XmlDocumentType.cs
- WebSysDisplayNameAttribute.cs
- ObjRef.cs
- Flattener.cs
- NativeMethods.cs
- RuntimeArgument.cs
- BindingSource.cs
- QueryableDataSourceEditData.cs
- FSWPathEditor.cs
- TimeSpanStorage.cs
- ScrollItemProviderWrapper.cs
- TreeViewImageIndexConverter.cs
- TraceContextEventArgs.cs
- SiteMapNodeItemEventArgs.cs
- RpcCryptoRequest.cs
- webclient.cs
- AttachedPropertyBrowsableWhenAttributePresentAttribute.cs
- XmlSerializerOperationFormatter.cs
- PropertyBuilder.cs
- SendMessageChannelCache.cs
- SkewTransform.cs
- ContainerUtilities.cs
- KeyPressEvent.cs
- QualifierSet.cs
- XamlPointCollectionSerializer.cs
- InvalidOperationException.cs
- RangeValuePatternIdentifiers.cs
- JsonWriter.cs
- ServerValidateEventArgs.cs
- PropertyInformationCollection.cs
- XsltCompileContext.cs
- ScrollPatternIdentifiers.cs
- RegexMatchCollection.cs
- GZipDecoder.cs
- RelatedPropertyManager.cs
- HttpConfigurationContext.cs
- ItemChangedEventArgs.cs
- ToolboxComponentsCreatedEventArgs.cs
- MethodCallTranslator.cs
- XmlCollation.cs
- EtwProvider.cs
- ColumnPropertiesGroup.cs
- Command.cs
- PageBorderless.cs
- PageRequestManager.cs
- Stylesheet.cs
- AncestorChangedEventArgs.cs
- ConversionHelper.cs
- SafeMarshalContext.cs
- WebPartDescription.cs
- EdmItemError.cs
- GeneratedCodeAttribute.cs
- TextServicesCompartmentContext.cs
- MatrixTransform.cs
- ToolStripOverflow.cs
- SmtpAuthenticationManager.cs
- WebPartManager.cs
- RequiredFieldValidator.cs
- AbandonedMutexException.cs
- PriorityChain.cs
- RangeValueProviderWrapper.cs