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
- CqlLexerHelpers.cs
- TextReader.cs
- SymbolEqualComparer.cs
- MessageTraceRecord.cs
- ListViewInsertionMark.cs
- WindowsImpersonationContext.cs
- ExceptionUtil.cs
- InternalResources.cs
- MissingManifestResourceException.cs
- TextAction.cs
- EmptyEnumerator.cs
- Animatable.cs
- SmtpClient.cs
- LocationReferenceEnvironment.cs
- PagesChangedEventArgs.cs
- LZCodec.cs
- WorkflowOperationErrorHandler.cs
- Pointer.cs
- Validator.cs
- ListBoxChrome.cs
- OdbcPermission.cs
- PaintEvent.cs
- StickyNoteContentControl.cs
- HtmlContainerControl.cs
- Win32.cs
- ExternalFile.cs
- HatchBrush.cs
- SchemaMapping.cs
- PeerTransportListenAddressValidatorAttribute.cs
- ScriptServiceAttribute.cs
- StrokeNodeData.cs
- HtmlValidatorAdapter.cs
- MembershipPasswordException.cs
- GuidTagList.cs
- DefaultValidator.cs
- TableHeaderCell.cs
- RuntimeEnvironment.cs
- SqlProviderServices.cs
- ADMembershipProvider.cs
- HtmlTableRow.cs
- HTTPNotFoundHandler.cs
- SqlNamer.cs
- VersionedStreamOwner.cs
- SqlLiftWhereClauses.cs
- DictionarySectionHandler.cs
- KeyboardNavigation.cs
- WeakReferenceKey.cs
- Brushes.cs
- ErrorFormatterPage.cs
- FreezableCollection.cs
- XmlSchemaAppInfo.cs
- SecurityRuntime.cs
- TemplateKey.cs
- SqlDataSourceStatusEventArgs.cs
- CornerRadiusConverter.cs
- Expander.cs
- DeploymentExceptionMapper.cs
- AccessorTable.cs
- ParallelEnumerableWrapper.cs
- SmtpNetworkElement.cs
- SoapServerMethod.cs
- BulletedListEventArgs.cs
- SendingRequestEventArgs.cs
- ErrorsHelper.cs
- TableRowCollection.cs
- SessionState.cs
- SelectionProcessor.cs
- PackageDigitalSignatureManager.cs
- StreamProxy.cs
- NameTable.cs
- SQLInt16.cs
- KeyedHashAlgorithm.cs
- SmtpFailedRecipientException.cs
- RichTextBox.cs
- RSAPKCS1SignatureDeformatter.cs
- VariableBinder.cs
- StringUtil.cs
- OutputWindow.cs
- SafeNativeMethodsMilCoreApi.cs
- RemotingAttributes.cs
- SamlAttribute.cs
- RelativeSource.cs
- ReferencedAssembly.cs
- BaseParagraph.cs
- BinaryEditor.cs
- ListenDesigner.cs
- ToolStripGripRenderEventArgs.cs
- IndicCharClassifier.cs
- StrokeDescriptor.cs
- AsyncCallback.cs
- TrackBarRenderer.cs
- SessionEndingEventArgs.cs
- PlatformCulture.cs
- ClientBuildManager.cs
- RequestQueue.cs
- TransactionOptions.cs
- WizardForm.cs
- TreeViewItemAutomationPeer.cs
- ActivityPreviewDesigner.cs
- MatrixConverter.cs