Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- FileBasedResourceGroveler.cs
- Int64Storage.cs
- DefaultExpressionVisitor.cs
- NativeActivityFaultContext.cs
- SqlWriter.cs
- Rotation3DAnimationUsingKeyFrames.cs
- EncodingTable.cs
- SqlDataSourceConnectionPanel.cs
- SerializerWriterEventHandlers.cs
- CodeRegionDirective.cs
- CompilerGlobalScopeAttribute.cs
- TextDocumentView.cs
- WebEventCodes.cs
- ManagedWndProcTracker.cs
- ResumeStoryboard.cs
- safelinkcollection.cs
- XamlSerializationHelper.cs
- MdiWindowListStrip.cs
- PathFigureCollectionConverter.cs
- SqlDataSourceRefreshSchemaForm.cs
- KeyValuePair.cs
- ChtmlImageAdapter.cs
- GB18030Encoding.cs
- DefaultTextStoreTextComposition.cs
- MenuAdapter.cs
- IssuanceLicense.cs
- PieceDirectory.cs
- GeneralTransform3DGroup.cs
- TextHintingModeValidation.cs
- FileLogRecord.cs
- DrawingGroup.cs
- ExpressionPrefixAttribute.cs
- StorageScalarPropertyMapping.cs
- FreezableCollection.cs
- XmlChildNodes.cs
- StorageAssociationSetMapping.cs
- MeasurementDCInfo.cs
- WebSysDisplayNameAttribute.cs
- Renderer.cs
- Debug.cs
- TextRange.cs
- BidOverLoads.cs
- NotFiniteNumberException.cs
- ArrayElementGridEntry.cs
- PrintingPermission.cs
- StatusBarPanel.cs
- EpmSyndicationContentSerializer.cs
- ProgressBar.cs
- PageAdapter.cs
- GACMembershipCondition.cs
- XmlCharCheckingWriter.cs
- WSTrust.cs
- _BufferOffsetSize.cs
- ConnectionPoint.cs
- MessagePropertyVariants.cs
- EmptyImpersonationContext.cs
- Compiler.cs
- HttpCookiesSection.cs
- GenericTransactionFlowAttribute.cs
- DragEventArgs.cs
- Html32TextWriter.cs
- CaseExpr.cs
- TypeToStringValueConverter.cs
- login.cs
- HttpModuleCollection.cs
- DelegateSerializationHolder.cs
- Rijndael.cs
- DetailsViewRowCollection.cs
- PageThemeCodeDomTreeGenerator.cs
- EventHandlersDesigner.cs
- LineServices.cs
- PartialArray.cs
- ObfuscationAttribute.cs
- UIElementIsland.cs
- EnumValidator.cs
- RadioButtonRenderer.cs
- SystemIcmpV4Statistics.cs
- PrintPageEvent.cs
- DbParameterHelper.cs
- MergeFailedEvent.cs
- DESCryptoServiceProvider.cs
- ACL.cs
- EntityStoreSchemaGenerator.cs
- AppSettingsExpressionBuilder.cs
- Graph.cs
- BooleanFacetDescriptionElement.cs
- AnnotationResource.cs
- BinaryObjectInfo.cs
- DocumentOutline.cs
- OperationAbortedException.cs
- DataGridColumnReorderingEventArgs.cs
- ToolStripDropDownClosedEventArgs.cs
- StyleCollectionEditor.cs
- DataTrigger.cs
- SamlSubject.cs
- MailAddressCollection.cs
- _Semaphore.cs
- ModuleBuilder.cs
- ACL.cs
- MailMessageEventArgs.cs