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
- IProvider.cs
- MenuCommand.cs
- ParsedAttributeCollection.cs
- WorkflowCompensationBehavior.cs
- Attributes.cs
- TableStyle.cs
- MetadataSource.cs
- UiaCoreProviderApi.cs
- AssociationProvider.cs
- EventHandlerList.cs
- EventWaitHandleSecurity.cs
- StylusTip.cs
- LocatorBase.cs
- SmiContextFactory.cs
- Task.cs
- Identifier.cs
- EntitySet.cs
- ApplicationGesture.cs
- Overlapped.cs
- mactripleDES.cs
- DocumentCollection.cs
- XmlDataCollection.cs
- ProxyWebPartConnectionCollection.cs
- DataDocumentXPathNavigator.cs
- PowerModeChangedEventArgs.cs
- SortKey.cs
- ValidationManager.cs
- SoapHeaderAttribute.cs
- SecUtil.cs
- RegexMatch.cs
- TemplateBamlTreeBuilder.cs
- HatchBrush.cs
- XPathCompileException.cs
- ToolBarButton.cs
- CapabilitiesSection.cs
- IndexedEnumerable.cs
- StreamWriter.cs
- ConfigurationException.cs
- AssemblyCache.cs
- MultipartIdentifier.cs
- TrackingLocationCollection.cs
- ExpressionVisitor.cs
- SrgsText.cs
- SafeRegistryHandle.cs
- LogicalChannelCollection.cs
- SecurityResources.cs
- DllNotFoundException.cs
- DashStyle.cs
- WindowsUserNameCachingSecurityTokenAuthenticator.cs
- ValidatingReaderNodeData.cs
- ContravarianceAdapter.cs
- KeyTimeConverter.cs
- RuntimeWrappedException.cs
- COM2FontConverter.cs
- RSAPKCS1SignatureDeformatter.cs
- SingleSelectRootGridEntry.cs
- WebSysDisplayNameAttribute.cs
- RijndaelCryptoServiceProvider.cs
- ConcatQueryOperator.cs
- DataGridViewSelectedColumnCollection.cs
- storepermission.cs
- GridItemProviderWrapper.cs
- XmlCountingReader.cs
- HtmlEncodedRawTextWriter.cs
- DbConnectionPoolGroupProviderInfo.cs
- StringAnimationBase.cs
- SimpleApplicationHost.cs
- ValuePattern.cs
- DetailsViewUpdateEventArgs.cs
- TypeConverterHelper.cs
- SoapFormatExtensions.cs
- CompiledRegexRunner.cs
- _PooledStream.cs
- DataBindingExpressionBuilder.cs
- oledbmetadatacollectionnames.cs
- unitconverter.cs
- SecurityUtils.cs
- DocumentOrderComparer.cs
- CodeEventReferenceExpression.cs
- ImageFormatConverter.cs
- WebHttpBindingElement.cs
- TextWriter.cs
- QueryParameter.cs
- ListBindingHelper.cs
- ConstrainedDataObject.cs
- SapiRecoContext.cs
- PtsCache.cs
- SqlFactory.cs
- CurrentTimeZone.cs
- StylusPlugin.cs
- BamlTreeNode.cs
- ChannelBinding.cs
- WrappingXamlSchemaContext.cs
- BitHelper.cs
- TextContainerChangeEventArgs.cs
- KeyGestureConverter.cs
- EventMap.cs
- UnsafeNativeMethodsPenimc.cs
- SemaphoreFullException.cs
- SettingsAttributes.cs