Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- VarInfo.cs
- TypeNameConverter.cs
- RoutedEventHandlerInfo.cs
- latinshape.cs
- SafeHandles.cs
- SpecialFolderEnumConverter.cs
- DbModificationCommandTree.cs
- DbProviderFactories.cs
- ExpressionBuilder.cs
- DateTimeValueSerializerContext.cs
- HashCodeCombiner.cs
- FilterableAttribute.cs
- Membership.cs
- MaskedTextBoxDesigner.cs
- SqlDelegatedTransaction.cs
- TextEffectResolver.cs
- ElementUtil.cs
- PolyBezierSegment.cs
- SourceFileBuildProvider.cs
- ByteAnimation.cs
- LinkConverter.cs
- XmlObjectSerializer.cs
- SecurityPolicySection.cs
- UnsafeCollabNativeMethods.cs
- RoleManagerEventArgs.cs
- ChangeDirector.cs
- SettingsAttributes.cs
- CacheRequest.cs
- Pen.cs
- WebConfigurationHostFileChange.cs
- RawTextInputReport.cs
- SqlClientMetaDataCollectionNames.cs
- ControlType.cs
- CollectionBase.cs
- FlowDocumentFormatter.cs
- BamlTreeMap.cs
- FilteredSchemaElementLookUpTable.cs
- PathFigure.cs
- GlyphCollection.cs
- TransformerTypeCollection.cs
- WmlValidatorAdapter.cs
- InvalidOleVariantTypeException.cs
- listviewsubitemcollectioneditor.cs
- Camera.cs
- Int32Converter.cs
- cookiecontainer.cs
- KeyboardEventArgs.cs
- WebServiceData.cs
- Claim.cs
- SafeRightsManagementQueryHandle.cs
- EmptyEnumerable.cs
- Documentation.cs
- ComponentDispatcher.cs
- CommandManager.cs
- BuildProvider.cs
- Convert.cs
- PauseStoryboard.cs
- PointCollectionValueSerializer.cs
- DynamicHyperLink.cs
- Maps.cs
- WriteableOnDemandStream.cs
- OracleInternalConnection.cs
- DeviceContext2.cs
- Semaphore.cs
- EndOfStreamException.cs
- TableLayoutColumnStyleCollection.cs
- AnnotationResourceChangedEventArgs.cs
- Signature.cs
- AssemblyAttributesGoHere.cs
- DeflateStream.cs
- MultiByteCodec.cs
- IMembershipProvider.cs
- TextElementEnumerator.cs
- _SslStream.cs
- SettingsPropertyCollection.cs
- HttpDictionary.cs
- WebBrowserHelper.cs
- PerspectiveCamera.cs
- BitStack.cs
- DataGridTextColumn.cs
- SynchronizationHandlesCodeDomSerializer.cs
- WebPartZoneCollection.cs
- Window.cs
- XmlUnspecifiedAttribute.cs
- TraceContextEventArgs.cs
- TypeDefinition.cs
- ColumnMapTranslator.cs
- StringAnimationUsingKeyFrames.cs
- SoapFault.cs
- SerialReceived.cs
- NamespaceCollection.cs
- DataGridViewLinkCell.cs
- ErrorStyle.cs
- Int16Storage.cs
- HeaderedContentControl.cs
- RuntimeHandles.cs
- ContextBase.cs
- HtmlTableCell.cs
- PropertyGeneratedEventArgs.cs
- XmlCharacterData.cs