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
- HttpApplicationFactory.cs
- ICspAsymmetricAlgorithm.cs
- ColorConvertedBitmap.cs
- IssuedSecurityTokenProvider.cs
- OneOf.cs
- CapabilitiesSection.cs
- XmlEntity.cs
- PageBuildProvider.cs
- ControlLocalizer.cs
- ClientConvert.cs
- Errors.cs
- NegotiateStream.cs
- Executor.cs
- SafeRightsManagementQueryHandle.cs
- PropertyPath.cs
- ChtmlTextWriter.cs
- VarRefManager.cs
- Odbc32.cs
- MILUtilities.cs
- WindowsListView.cs
- BitmapVisualManager.cs
- ReadOnlyMetadataCollection.cs
- BindingBase.cs
- Rect.cs
- TableRowCollection.cs
- HttpListenerPrefixCollection.cs
- PasswordBoxAutomationPeer.cs
- DataGridViewRow.cs
- Propagator.JoinPropagator.cs
- SetStoryboardSpeedRatio.cs
- LoginName.cs
- LookupTables.cs
- MsmqUri.cs
- SliderAutomationPeer.cs
- Msec.cs
- ConfigurationManagerInternalFactory.cs
- SystemGatewayIPAddressInformation.cs
- DbDataRecord.cs
- SimpleParser.cs
- EmulateRecognizeCompletedEventArgs.cs
- LayoutSettings.cs
- DelayLoadType.cs
- URLString.cs
- DbExpressionBuilder.cs
- SqlServices.cs
- DataControlButton.cs
- ParserContext.cs
- __FastResourceComparer.cs
- TabControl.cs
- StringCollection.cs
- SystemResourceKey.cs
- SizeChangedEventArgs.cs
- XmlSerializer.cs
- ActiveXContainer.cs
- WaitForChangedResult.cs
- Model3DGroup.cs
- PolicyVersionConverter.cs
- CallTemplateAction.cs
- ScrollBar.cs
- HierarchicalDataBoundControlAdapter.cs
- Emitter.cs
- SystemIPv4InterfaceProperties.cs
- Interfaces.cs
- ModelServiceImpl.cs
- AdjustableArrowCap.cs
- SoundPlayer.cs
- DataPointer.cs
- LogLogRecordHeader.cs
- ComponentDispatcherThread.cs
- PageParser.cs
- TrimSurroundingWhitespaceAttribute.cs
- XPathScanner.cs
- Drawing.cs
- MediaSystem.cs
- StateItem.cs
- FileCodeGroup.cs
- FacetDescription.cs
- Bezier.cs
- PathFigureCollectionConverter.cs
- WindowsListViewGroup.cs
- InlineObject.cs
- XmlDesigner.cs
- ConfigurationFileMap.cs
- AutomationElementCollection.cs
- XmlHierarchyData.cs
- EFAssociationProvider.cs
- RegexMatchCollection.cs
- FontCacheUtil.cs
- ControlUtil.cs
- IteratorAsyncResult.cs
- CodeDelegateCreateExpression.cs
- login.cs
- TdsParserSessionPool.cs
- dbenumerator.cs
- LocalValueEnumerator.cs
- JoinSymbol.cs
- ListParaClient.cs
- EmissiveMaterial.cs
- IResourceProvider.cs
- Delegate.cs