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
- SqlDataSourceFilteringEventArgs.cs
- ImpersonateTokenRef.cs
- WebServiceParameterData.cs
- SqlWorkflowPersistenceService.cs
- StatusCommandUI.cs
- LinkedDataMemberFieldEditor.cs
- AmbientValueAttribute.cs
- AutomationProperty.cs
- MetadataConversionError.cs
- MemoryMappedFile.cs
- ZipIOLocalFileBlock.cs
- XmlIgnoreAttribute.cs
- RegexParser.cs
- SiteOfOriginContainer.cs
- AssociationTypeEmitter.cs
- sqlmetadatafactory.cs
- DisplayInformation.cs
- Command.cs
- WmlSelectionListAdapter.cs
- SiteMembershipCondition.cs
- XmlCharType.cs
- ScrollBarRenderer.cs
- ControlUtil.cs
- DataTablePropertyDescriptor.cs
- SqlHelper.cs
- Instrumentation.cs
- DefaultAsyncDataDispatcher.cs
- PerformanceCounterLib.cs
- DbDataReader.cs
- VisualStyleElement.cs
- _SpnDictionary.cs
- DataGridViewRowHeightInfoPushedEventArgs.cs
- SiteMapDataSource.cs
- UrlAuthorizationModule.cs
- DbConnectionPoolIdentity.cs
- DiscoveryOperationContext.cs
- SerializerDescriptor.cs
- SimpleBitVector32.cs
- CalendarModeChangedEventArgs.cs
- XmlSchemaImport.cs
- TraceSwitch.cs
- NumberSubstitution.cs
- _ServiceNameStore.cs
- MultipleViewPattern.cs
- ResourcePermissionBaseEntry.cs
- Parameter.cs
- BindingMemberInfo.cs
- StackBuilderSink.cs
- Parameter.cs
- SecurityCapabilities.cs
- PartialCachingAttribute.cs
- SerialPort.cs
- Utilities.cs
- Misc.cs
- RenderTargetBitmap.cs
- UnsupportedPolicyOptionsException.cs
- StructureChangedEventArgs.cs
- IndexOutOfRangeException.cs
- OrthographicCamera.cs
- OuterGlowBitmapEffect.cs
- EnumValAlphaComparer.cs
- BitmapEffectGroup.cs
- XmlWrappingWriter.cs
- SafeCertificateStore.cs
- CreateUserWizard.cs
- metadatamappinghashervisitor.hashsourcebuilder.cs
- DecoderBestFitFallback.cs
- Exceptions.cs
- SerTrace.cs
- Image.cs
- VersionedStream.cs
- Point4D.cs
- ChineseLunisolarCalendar.cs
- EventSetter.cs
- PreProcessInputEventArgs.cs
- TypeHelpers.cs
- OpCopier.cs
- IntersectQueryOperator.cs
- ControlBindingsCollection.cs
- SortedList.cs
- LogFlushAsyncResult.cs
- MetadataPropertyAttribute.cs
- DesigntimeLicenseContextSerializer.cs
- NativeObjectSecurity.cs
- SerializationHelper.cs
- FormsAuthenticationTicket.cs
- BufferedGraphicsContext.cs
- ServiceHostingEnvironment.cs
- Line.cs
- Point4D.cs
- PenThreadPool.cs
- ProfileInfo.cs
- BindingCollection.cs
- OledbConnectionStringbuilder.cs
- UDPClient.cs
- ConfigXmlCDataSection.cs
- ButtonField.cs
- ContentPresenter.cs
- GridViewHeaderRowPresenter.cs
- WindowsFormsSynchronizationContext.cs