Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- HttpHeaderCollection.cs
- DesignerForm.cs
- Nullable.cs
- CorrelationManager.cs
- JsonSerializer.cs
- WorkflowRuntime.cs
- EventLogException.cs
- ObjectSelectorEditor.cs
- InputScope.cs
- TemplateControl.cs
- CacheEntry.cs
- GeneratedView.cs
- ConfigXmlComment.cs
- StateItem.cs
- AddInContractAttribute.cs
- CRYPTPROTECT_PROMPTSTRUCT.cs
- TreeNodeBindingCollection.cs
- FrameworkRichTextComposition.cs
- HttpConfigurationSystem.cs
- AssemblyBuilder.cs
- PostBackTrigger.cs
- ColumnTypeConverter.cs
- ExecutionEngineException.cs
- CollaborationHelperFunctions.cs
- UIPermission.cs
- ReadOnlyNameValueCollection.cs
- CommunicationObjectManager.cs
- OutputWindow.cs
- RestHandlerFactory.cs
- BamlResourceSerializer.cs
- XmlChildNodes.cs
- OracleParameterBinding.cs
- VirtualDirectoryMapping.cs
- CodeObject.cs
- AssemblyName.cs
- PlatformCulture.cs
- BitmapEffectGeneralTransform.cs
- Clipboard.cs
- ValidationSummary.cs
- BitmapEffectInput.cs
- ZipIOCentralDirectoryDigitalSignature.cs
- StatusBarItemAutomationPeer.cs
- TypeElementCollection.cs
- VisualStyleElement.cs
- XmlComplianceUtil.cs
- ArgumentNullException.cs
- FileDialogCustomPlace.cs
- SByteConverter.cs
- ColorDialog.cs
- DataRecordInfo.cs
- CookielessData.cs
- MetaData.cs
- DataColumnChangeEvent.cs
- GPRECTF.cs
- ToolStripProfessionalLowResolutionRenderer.cs
- BinaryFormatter.cs
- ResXDataNode.cs
- TaskDesigner.cs
- WindowsEditBoxRange.cs
- RegexInterpreter.cs
- XD.cs
- DataDocumentXPathNavigator.cs
- PriorityQueue.cs
- HttpCookiesSection.cs
- ServiceContractGenerator.cs
- GlyphElement.cs
- PageRequestManager.cs
- AuditLog.cs
- BidOverLoads.cs
- SortAction.cs
- ImageIndexConverter.cs
- TextEditorSelection.cs
- GridViewRowCollection.cs
- sqlpipe.cs
- DataGridViewCell.cs
- SmiRequestExecutor.cs
- SettingsBindableAttribute.cs
- UrlUtility.cs
- UnsafeNativeMethods.cs
- ObjectPersistData.cs
- ColumnHeaderConverter.cs
- Environment.cs
- UITypeEditor.cs
- StreamSecurityUpgradeAcceptor.cs
- WindowsFormsSynchronizationContext.cs
- ManualResetEventSlim.cs
- EventProviderWriter.cs
- Form.cs
- OdbcEnvironment.cs
- ItemContainerGenerator.cs
- XmlSchemaComplexType.cs
- TableCellAutomationPeer.cs
- ListenDesigner.cs
- MachineSettingsSection.cs
- OutOfProcStateClientManager.cs
- PackageController.cs
- TypeForwardedToAttribute.cs
- TraceAsyncResult.cs
- UserControlDesigner.cs
- SelectionManager.cs