Code:
/ 4.0 / 4.0 / untmp / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- WindowProviderWrapper.cs
- ToolStripPanel.cs
- FieldAccessException.cs
- SynchronizingStream.cs
- prompt.cs
- SqlBinder.cs
- SettingsPropertyNotFoundException.cs
- CompilerScopeManager.cs
- DataKey.cs
- DoubleLinkListEnumerator.cs
- ReachVisualSerializerAsync.cs
- TextEditorCopyPaste.cs
- DomainConstraint.cs
- XmlImplementation.cs
- OnOperation.cs
- SqlAliasesReferenced.cs
- WindowsEditBoxRange.cs
- Marshal.cs
- Pair.cs
- Transform.cs
- FilterElement.cs
- PointAnimationBase.cs
- XpsPartBase.cs
- SchemaAttDef.cs
- Permission.cs
- SourceItem.cs
- DEREncoding.cs
- RotateTransform3D.cs
- XamlTemplateSerializer.cs
- CollectionBase.cs
- WebConfigurationManager.cs
- TransformerInfoCollection.cs
- DispatcherExceptionFilterEventArgs.cs
- IgnoreFileBuildProvider.cs
- PickBranch.cs
- WebPartMovingEventArgs.cs
- PropertyTabAttribute.cs
- ElementFactory.cs
- SafeProcessHandle.cs
- SchemaComplexType.cs
- DataGridView.cs
- AnnotationMap.cs
- MaterialGroup.cs
- XmlDownloadManager.cs
- BindingMAnagerBase.cs
- ModelItemCollectionImpl.cs
- EventLogEntryCollection.cs
- OutputCache.cs
- TreeView.cs
- ShadowGlyph.cs
- DrawingServices.cs
- AssociationTypeEmitter.cs
- RuntimeConfig.cs
- Pts.cs
- AssemblyResourceLoader.cs
- Button.cs
- BinaryObjectReader.cs
- RawTextInputReport.cs
- WebPartRestoreVerb.cs
- UInt32Storage.cs
- ISCIIEncoding.cs
- EventProviderClassic.cs
- MemoryFailPoint.cs
- TypeConverterMarkupExtension.cs
- ImportContext.cs
- LassoSelectionBehavior.cs
- PerformanceCounterLib.cs
- InvariantComparer.cs
- AttachedPropertyMethodSelector.cs
- Label.cs
- DiscoveryEndpointElement.cs
- CellTreeNodeVisitors.cs
- DropDownButton.cs
- DiscreteKeyFrames.cs
- ImageAutomationPeer.cs
- PerformanceCountersElement.cs
- SoapMessage.cs
- MouseOverProperty.cs
- LoaderAllocator.cs
- OleDbRowUpdatedEvent.cs
- LockRecursionException.cs
- GenerateTemporaryTargetAssembly.cs
- HitTestWithGeometryDrawingContextWalker.cs
- HttpCapabilitiesSectionHandler.cs
- DiscoveryServiceExtension.cs
- EntityDataSourceMemberPath.cs
- PropertyFilter.cs
- AnimationClock.cs
- HotSpotCollection.cs
- Msec.cs
- ClientRuntimeConfig.cs
- DecimalAnimationBase.cs
- CryptoApi.cs
- HttpFormatExtensions.cs
- SecureConversationVersion.cs
- EncoderParameter.cs
- ReferenceAssemblyAttribute.cs
- ZipIOFileItemStream.cs
- QueryStringConverter.cs
- ToolStripItemTextRenderEventArgs.cs