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
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- EntityDescriptor.cs
- ConfigurationElementCollection.cs
- DomainUpDown.cs
- safex509handles.cs
- SymbolTable.cs
- TemplateFactory.cs
- PasswordTextNavigator.cs
- ForeignKeyConstraint.cs
- PackagePartCollection.cs
- QueryStatement.cs
- Table.cs
- DataGridSortCommandEventArgs.cs
- MaterialCollection.cs
- IdentifierCreationService.cs
- CssStyleCollection.cs
- RichTextBox.cs
- AspCompat.cs
- MimeFormatter.cs
- SingleTagSectionHandler.cs
- PropertyEmitterBase.cs
- SkipStoryboardToFill.cs
- NullableDecimalAverageAggregationOperator.cs
- HttpWebResponse.cs
- TransactionManagerProxy.cs
- _FixedSizeReader.cs
- FreezableOperations.cs
- XmlSchemaNotation.cs
- SafeRightsManagementSessionHandle.cs
- Stroke.cs
- SqlCommandSet.cs
- ConditionBrowserDialog.cs
- DataBindingCollection.cs
- EntityAdapter.cs
- ObjectToken.cs
- DataControlLinkButton.cs
- QueryInterceptorAttribute.cs
- SqlInternalConnectionSmi.cs
- FormViewPagerRow.cs
- COM2FontConverter.cs
- ZoneButton.cs
- WindowsAuthenticationEventArgs.cs
- HtmlString.cs
- TypeElement.cs
- ColumnCollection.cs
- ExeConfigurationFileMap.cs
- PeerCollaboration.cs
- SystemInfo.cs
- SystemThemeKey.cs
- StylusPlugInCollection.cs
- DuplicateWaitObjectException.cs
- WizardDesigner.cs
- DateTimePicker.cs
- Signature.cs
- PrintController.cs
- XmlSerializerSection.cs
- ScrollItemPattern.cs
- MessageQueuePermissionEntry.cs
- TypeToken.cs
- DataObject.cs
- DataException.cs
- CheckedPointers.cs
- ToolStripItemCollection.cs
- TailCallAnalyzer.cs
- ConfigDefinitionUpdates.cs
- ClassDataContract.cs
- Error.cs
- SqlBuffer.cs
- UncommonField.cs
- DataGridViewAdvancedBorderStyle.cs
- Main.cs
- ConfigDefinitionUpdates.cs
- TextBounds.cs
- ReflectionHelper.cs
- SystemNetHelpers.cs
- TagNameToTypeMapper.cs
- ActivitiesCollection.cs
- InstanceOwnerException.cs
- CodeTypeConstructor.cs
- OleDbCommandBuilder.cs
- mediaclock.cs
- ReservationNotFoundException.cs
- GeometryGroup.cs
- HttpListener.cs
- WindowsRichEditRange.cs
- PnrpPermission.cs
- RadioButtonFlatAdapter.cs
- WindowInteractionStateTracker.cs
- WCFServiceClientProxyGenerator.cs
- PtsHelper.cs
- ControlBindingsConverter.cs
- AttributeCollection.cs
- CRYPTPROTECT_PROMPTSTRUCT.cs
- StreamReader.cs
- ObjectContextServiceProvider.cs
- ArcSegment.cs
- RadioButtonFlatAdapter.cs
- DataGridViewColumn.cs
- EditorPartDesigner.cs
- SqlMetaData.cs
- TextBoxBase.cs