Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- Hash.cs
- CellConstantDomain.cs
- GroupBoxDesigner.cs
- ModelItem.cs
- DataTable.cs
- Bits.cs
- LambdaCompiler.Lambda.cs
- BuildProvider.cs
- WebPartZoneCollection.cs
- X509AsymmetricSecurityKey.cs
- SizeConverter.cs
- MarshalByRefObject.cs
- CodeExporter.cs
- GetWinFXPath.cs
- sqlstateclientmanager.cs
- SecurityContext.cs
- InputProviderSite.cs
- OdbcConnectionFactory.cs
- DataGridDesigner.cs
- Enumerable.cs
- PartialTrustHelpers.cs
- AliasGenerator.cs
- FocusManager.cs
- CustomAssemblyResolver.cs
- GlyphingCache.cs
- XmlSchemaSet.cs
- IProvider.cs
- CodeExpressionCollection.cs
- InputBindingCollection.cs
- DecoderReplacementFallback.cs
- HttpProfileGroupBase.cs
- UIElement.cs
- QuestionEventArgs.cs
- DesignerAutoFormatCollection.cs
- RayMeshGeometry3DHitTestResult.cs
- ScrollItemProviderWrapper.cs
- BitmapEffectOutputConnector.cs
- EventWaitHandleSecurity.cs
- DataMemberListEditor.cs
- Brush.cs
- SystemWebCachingSectionGroup.cs
- MouseButton.cs
- BitmapEffectInputConnector.cs
- SqlSelectClauseBuilder.cs
- COM2IManagedPerPropertyBrowsingHandler.cs
- ContentElement.cs
- TextEffect.cs
- DbMetaDataCollectionNames.cs
- TraceContextEventArgs.cs
- FormsAuthenticationConfiguration.cs
- _Semaphore.cs
- WindowsStatusBar.cs
- UDPClient.cs
- IndependentAnimationStorage.cs
- DesignerActionVerbList.cs
- ExecutionContext.cs
- XmlAtomicValue.cs
- DummyDataSource.cs
- PermissionListSet.cs
- Vector3D.cs
- querybuilder.cs
- Boolean.cs
- Message.cs
- KoreanLunisolarCalendar.cs
- ParameterBuilder.cs
- LoginAutoFormat.cs
- OracleParameterBinding.cs
- VoiceInfo.cs
- SmtpTransport.cs
- LocatorPart.cs
- FixedSOMTable.cs
- EventLogInformation.cs
- DataGridSortCommandEventArgs.cs
- ACL.cs
- DataViewManager.cs
- TransactionFilter.cs
- InputLanguage.cs
- GenericsNotImplementedException.cs
- SqlGenerator.cs
- HttpPostClientProtocol.cs
- BigInt.cs
- EntityContainerRelationshipSetEnd.cs
- DefaultIfEmptyQueryOperator.cs
- ChannelDispatcherCollection.cs
- CommentEmitter.cs
- MembershipSection.cs
- RotateTransform.cs
- EntityRecordInfo.cs
- StoreItemCollection.cs
- MessageQueuePermissionAttribute.cs
- DefinitionBase.cs
- WebPartDisplayModeCancelEventArgs.cs
- Permission.cs
- LinkLabelLinkClickedEvent.cs
- DuplicateDetector.cs
- ComponentCollection.cs
- NumberSubstitution.cs
- DrawListViewColumnHeaderEventArgs.cs
- XNodeNavigator.cs
- RegexStringValidator.cs