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
- LoadWorkflowCommand.cs
- Expression.cs
- TimeManager.cs
- ImageMapEventArgs.cs
- WindowsRebar.cs
- CodeGenerator.cs
- HtmlTableCell.cs
- TemplatedMailWebEventProvider.cs
- InternalDuplexBindingElement.cs
- PackagePartCollection.cs
- _FixedSizeReader.cs
- XhtmlBasicListAdapter.cs
- TemplatedMailWebEventProvider.cs
- RuntimeTransactionHandle.cs
- HuffCodec.cs
- SmtpException.cs
- Dictionary.cs
- EdmItemCollection.cs
- CmsUtils.cs
- MinimizableAttributeTypeConverter.cs
- MarkupCompiler.cs
- TokenBasedSet.cs
- TimerElapsedEvenArgs.cs
- Point3DCollection.cs
- FileRegion.cs
- EntityFrameworkVersions.cs
- BitmapEffectDrawingContent.cs
- EdmComplexPropertyAttribute.cs
- BindingsSection.cs
- FormViewDeletedEventArgs.cs
- remotingproxy.cs
- CheckBoxAutomationPeer.cs
- DocumentXmlWriter.cs
- MessageBox.cs
- ValueType.cs
- MailDefinition.cs
- XmlTextReaderImpl.cs
- ProxyGenerationError.cs
- ItemList.cs
- Events.cs
- XmlNamespaceMappingCollection.cs
- MenuItemCollection.cs
- MetadataItemEmitter.cs
- TreeViewImageGenerator.cs
- StylusOverProperty.cs
- ServiceObjectContainer.cs
- JoinTreeNode.cs
- ExpressionVisitor.cs
- EncodingDataItem.cs
- DataBindingCollectionConverter.cs
- OSFeature.cs
- TokenizerHelper.cs
- GenericWebPart.cs
- Facet.cs
- DataChangedEventManager.cs
- SHA256Cng.cs
- CommandConverter.cs
- SettingsProperty.cs
- ProfilePropertyNameValidator.cs
- ChildDocumentBlock.cs
- ResXFileRef.cs
- FlowDocumentFormatter.cs
- InvalidateEvent.cs
- TextEditorParagraphs.cs
- CrossContextChannel.cs
- FrameSecurityDescriptor.cs
- Deflater.cs
- DefaultSerializationProviderAttribute.cs
- BufferAllocator.cs
- ProcessHostConfigUtils.cs
- ProfilePropertyNameValidator.cs
- FixedHyperLink.cs
- ApplicationContext.cs
- PackWebRequest.cs
- EnumConverter.cs
- InputElement.cs
- ColumnClickEvent.cs
- SimpleApplicationHost.cs
- GradientBrush.cs
- RtType.cs
- SmiRequestExecutor.cs
- MetadataUtilsSmi.cs
- CqlBlock.cs
- DatatypeImplementation.cs
- MediaTimeline.cs
- TaiwanCalendar.cs
- ItemsChangedEventArgs.cs
- TreeBuilder.cs
- WebPartZone.cs
- SoapSchemaMember.cs
- EmbossBitmapEffect.cs
- UndoManager.cs
- SBCSCodePageEncoding.cs
- EdmItemError.cs
- SoapEnumAttribute.cs
- HelpEvent.cs
- coordinatorscratchpad.cs
- FontInfo.cs
- InstanceContextMode.cs
- ProtocolsConfiguration.cs