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
- NotImplementedException.cs
- XmlSchemaDatatype.cs
- DefaultValidator.cs
- TouchesCapturedWithinProperty.cs
- RelativeSource.cs
- GridViewCommandEventArgs.cs
- SystemWebCachingSectionGroup.cs
- MissingManifestResourceException.cs
- FlowLayoutPanel.cs
- CustomPopupPlacement.cs
- SimpleRecyclingCache.cs
- SecureUICommand.cs
- DescendentsWalker.cs
- XD.cs
- HttpRequestMessageProperty.cs
- IsolatedStorageException.cs
- PolyLineSegment.cs
- NativeMethods.cs
- DataGridViewCellValueEventArgs.cs
- ByteAnimationBase.cs
- NegationPusher.cs
- Atom10FormatterFactory.cs
- ThicknessAnimation.cs
- AppDomainProtocolHandler.cs
- DisplayMemberTemplateSelector.cs
- ArrayConverter.cs
- FaultDescription.cs
- IxmlLineInfo.cs
- SrgsItemList.cs
- Validator.cs
- WebPartsPersonalization.cs
- HtmlInputHidden.cs
- TcpClientCredentialType.cs
- translator.cs
- SiteMapNodeItem.cs
- _ProxyChain.cs
- ErrorHandler.cs
- Accessible.cs
- DataGridRow.cs
- ColumnWidthChangingEvent.cs
- MembershipValidatePasswordEventArgs.cs
- HandlerFactoryCache.cs
- ToolStripOverflow.cs
- SmtpClient.cs
- NamespaceListProperty.cs
- SqlGatherProducedAliases.cs
- OciEnlistContext.cs
- Globals.cs
- FolderLevelBuildProviderCollection.cs
- NativeMethods.cs
- File.cs
- ServiceOperationParameter.cs
- StrokeCollectionDefaultValueFactory.cs
- Visitors.cs
- _Events.cs
- DataTableMapping.cs
- DataServiceQueryException.cs
- UTF8Encoding.cs
- XPathNavigatorKeyComparer.cs
- PageSetupDialog.cs
- FileDialogCustomPlace.cs
- KeyedCollection.cs
- PropertyMetadata.cs
- ProxyFragment.cs
- ExtensionSurface.cs
- PlainXmlSerializer.cs
- Invariant.cs
- MultipleViewProviderWrapper.cs
- EmptyWithCancelationCheckWorkItem.cs
- ToolStripMenuItemDesigner.cs
- EditorPartCollection.cs
- ResourcePermissionBaseEntry.cs
- ConnectionAcceptor.cs
- GridViewUpdatedEventArgs.cs
- Pens.cs
- TransactionTraceIdentifier.cs
- SystemDropShadowChrome.cs
- LoginCancelEventArgs.cs
- MULTI_QI.cs
- ReferenceConverter.cs
- httpapplicationstate.cs
- Semaphore.cs
- TransformCollection.cs
- NavigationPropertyEmitter.cs
- LinqDataSourceStatusEventArgs.cs
- ImpersonationContext.cs
- basemetadatamappingvisitor.cs
- TraceSection.cs
- DataSysAttribute.cs
- DataControlButton.cs
- StackSpiller.Generated.cs
- SerialPinChanges.cs
- XmlnsDefinitionAttribute.cs
- EncoderExceptionFallback.cs
- ApplicationGesture.cs
- CharacterShapingProperties.cs
- QilUnary.cs
- baseshape.cs
- SinglePageViewer.cs
- ReflectTypeDescriptionProvider.cs