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
- _ProxyRegBlob.cs
- MaskPropertyEditor.cs
- DataBoundLiteralControl.cs
- AxWrapperGen.cs
- ParseNumbers.cs
- XmlParser.cs
- DataGridViewSelectedCellCollection.cs
- GuidelineSet.cs
- StringDictionaryCodeDomSerializer.cs
- BaseTemplatedMobileComponentEditor.cs
- InstanceHandle.cs
- DesignerOptionService.cs
- Repeater.cs
- UnknownBitmapDecoder.cs
- Stylus.cs
- mansign.cs
- DBProviderConfigurationHandler.cs
- FileVersionInfo.cs
- AmbientLight.cs
- WSHttpSecurity.cs
- Activation.cs
- ToolboxItemAttribute.cs
- Publisher.cs
- XslVisitor.cs
- EventItfInfo.cs
- TypeLibConverter.cs
- _ConnectStream.cs
- HttpFileCollection.cs
- GridItemProviderWrapper.cs
- StrongTypingException.cs
- Deflater.cs
- DataRowComparer.cs
- MatrixCamera.cs
- CheckBoxStandardAdapter.cs
- DependencyPropertyDescriptor.cs
- FileChangeNotifier.cs
- FilteredDataSetHelper.cs
- BounceEase.cs
- VerticalConnector.xaml.cs
- CodeNamespaceImportCollection.cs
- RectConverter.cs
- DesignerWidgets.cs
- SafeFileMappingHandle.cs
- ImportCatalogPart.cs
- ActivationWorker.cs
- GeometryValueSerializer.cs
- OutputCacheSettingsSection.cs
- EventLogger.cs
- TimeoutValidationAttribute.cs
- SmiXetterAccessMap.cs
- SqlEnums.cs
- _FtpControlStream.cs
- CustomTypeDescriptor.cs
- ImageListStreamer.cs
- PathParser.cs
- XXXOnTypeBuilderInstantiation.cs
- SecurityRuntime.cs
- HMACSHA512.cs
- TypeLoadException.cs
- Columns.cs
- mediaclock.cs
- MissingManifestResourceException.cs
- DataGridBoundColumn.cs
- FontStyles.cs
- VirtualDirectoryMappingCollection.cs
- CloudCollection.cs
- PerformanceCounterLib.cs
- Action.cs
- FixedSOMPageElement.cs
- SimpleMailWebEventProvider.cs
- EmissiveMaterial.cs
- CommonDialog.cs
- ListChunk.cs
- OdbcException.cs
- CustomAssemblyResolver.cs
- Avt.cs
- MouseBinding.cs
- CharEntityEncoderFallback.cs
- DirtyTextRange.cs
- XamlToRtfWriter.cs
- TextShapeableCharacters.cs
- EventMappingSettings.cs
- IdentityVerifier.cs
- AbandonedMutexException.cs
- BitConverter.cs
- ComponentEvent.cs
- EncryptedXml.cs
- SlipBehavior.cs
- PeerInvitationResponse.cs
- InitializationEventAttribute.cs
- TypeLoadException.cs
- FolderBrowserDialog.cs
- TypedTableHandler.cs
- ContextMenu.cs
- TextEffect.cs
- DispatcherHookEventArgs.cs
- RegexWorker.cs
- NativeMethods.cs
- BinHexEncoding.cs
- CodeDirectionExpression.cs