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
- CodeMethodInvokeExpression.cs
- PieceNameHelper.cs
- SerializationStore.cs
- CompositeScriptReference.cs
- ViewLoader.cs
- SiteMapSection.cs
- DirectoryObjectSecurity.cs
- DataColumnMappingCollection.cs
- recordstatescratchpad.cs
- HMACMD5.cs
- DateTimeUtil.cs
- DataGridPagerStyle.cs
- VisualState.cs
- EventSinkActivityDesigner.cs
- NavigationProperty.cs
- BrowserDefinition.cs
- SwitchLevelAttribute.cs
- ObjectViewEntityCollectionData.cs
- Track.cs
- ValueType.cs
- HWStack.cs
- SqlConnectionPoolGroupProviderInfo.cs
- ScaleTransform.cs
- ConfigurationManagerInternal.cs
- LoadMessageLogger.cs
- CodeLabeledStatement.cs
- DoubleLinkList.cs
- TargetPerspective.cs
- ParenExpr.cs
- PropertyManager.cs
- SoapFault.cs
- ObjectItemNoOpAssemblyLoader.cs
- Deflater.cs
- BinHexDecoder.cs
- QueryStatement.cs
- ScriptingWebServicesSectionGroup.cs
- WsdlInspector.cs
- StringUtil.cs
- XmlArrayItemAttribute.cs
- Permission.cs
- UseAttributeSetsAction.cs
- TextChange.cs
- TableCellCollection.cs
- ArrayListCollectionBase.cs
- XMLSchema.cs
- TextViewBase.cs
- SchemaImporterExtensionElement.cs
- XpsInterleavingPolicy.cs
- GenericIdentity.cs
- Form.cs
- SliderAutomationPeer.cs
- QueryCacheKey.cs
- InfoCardRSAOAEPKeyExchangeFormatter.cs
- ObjectAnimationUsingKeyFrames.cs
- HostingEnvironmentSection.cs
- HttpClientCertificate.cs
- ApplyTemplatesAction.cs
- StrongNamePublicKeyBlob.cs
- IdentityHolder.cs
- ListControlBuilder.cs
- Encoder.cs
- DataGridViewColumnConverter.cs
- XmlTypeAttribute.cs
- WpfSharedBamlSchemaContext.cs
- QilExpression.cs
- ObjectAnimationUsingKeyFrames.cs
- HttpApplication.cs
- Utils.cs
- CommentAction.cs
- TemplateControlParser.cs
- DataGridTablesFactory.cs
- SafeNativeMemoryHandle.cs
- MsmqIntegrationInputMessage.cs
- InternalReceiveMessage.cs
- ConfigPathUtility.cs
- ContextMenuStrip.cs
- XmlDataDocument.cs
- CodePropertyReferenceExpression.cs
- CreateUserErrorEventArgs.cs
- XmlAggregates.cs
- SendMailErrorEventArgs.cs
- MarkupWriter.cs
- TransportContext.cs
- SoapRpcMethodAttribute.cs
- SHA384Managed.cs
- AuthenticationSection.cs
- KeyProperty.cs
- PEFileEvidenceFactory.cs
- QilXmlReader.cs
- WasEndpointConfigContainer.cs
- DrawingContextWalker.cs
- DependencyPropertyKind.cs
- ParseNumbers.cs
- LoginCancelEventArgs.cs
- NetSectionGroup.cs
- Model3D.cs
- InvalidCastException.cs
- InstanceDataCollection.cs
- TypeConverterHelper.cs
- Internal.cs