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
- SqlConnectionHelper.cs
- ExecutionEngineException.cs
- followingquery.cs
- TableItemPatternIdentifiers.cs
- ReadOnlyDictionary.cs
- PasswordRecovery.cs
- TreeView.cs
- NativeMethodsCLR.cs
- StatusStrip.cs
- ListGeneralPage.cs
- ModifierKeysConverter.cs
- ExternalException.cs
- XmlSchema.cs
- AuthenticationModulesSection.cs
- XmlSerializableWriter.cs
- CheckBox.cs
- HelpProvider.cs
- NavigationWindow.cs
- DetailsViewRowCollection.cs
- ResourceType.cs
- WindowsSecurityToken.cs
- BamlRecordWriter.cs
- MemberRelationshipService.cs
- SiteMapPathDesigner.cs
- CounterSampleCalculator.cs
- Utility.cs
- SignedPkcs7.cs
- ReachPageContentSerializer.cs
- SimpleWorkerRequest.cs
- ScaleTransform.cs
- XmlSchemaAttributeGroup.cs
- FunctionDescription.cs
- Base64Encoder.cs
- RemoveStoryboard.cs
- ItemChangedEventArgs.cs
- XmlNavigatorStack.cs
- ComEventsSink.cs
- Normalization.cs
- ByteStack.cs
- TypefaceCollection.cs
- StringDictionary.cs
- XamlSerializerUtil.cs
- Geometry.cs
- BitSet.cs
- SerializableAttribute.cs
- ClosableStream.cs
- Converter.cs
- ContextMenu.cs
- SqlBulkCopyColumnMappingCollection.cs
- ResourceContainer.cs
- HttpRequestCacheValidator.cs
- ProofTokenCryptoHandle.cs
- SchemaNotation.cs
- Matrix.cs
- EdgeProfileValidation.cs
- ToolStripHighContrastRenderer.cs
- JournalEntry.cs
- RegexParser.cs
- RegexWriter.cs
- ToolStripItemClickedEventArgs.cs
- DbProviderManifest.cs
- DoubleCollection.cs
- QueueSurrogate.cs
- ConfigurationSettings.cs
- WMICapabilities.cs
- ISFClipboardData.cs
- DbModificationClause.cs
- SystemNetworkInterface.cs
- ExpressionParser.cs
- Int32Collection.cs
- ConfigXmlReader.cs
- ReferentialConstraintRoleElement.cs
- FixedLineResult.cs
- EdmItemCollection.cs
- CodeTypeReference.cs
- TerminatorSinks.cs
- Int64Converter.cs
- Int32CAMarshaler.cs
- InvalidOleVariantTypeException.cs
- XmlWhitespace.cs
- PathParser.cs
- ViewCellSlot.cs
- SQLUtility.cs
- AnonymousIdentificationModule.cs
- SHA384Managed.cs
- SignatureHelper.cs
- DataGridViewTextBoxCell.cs
- XmlNamedNodeMap.cs
- DrawingCollection.cs
- ValidatorCompatibilityHelper.cs
- WebUtil.cs
- VectorValueSerializer.cs
- LambdaCompiler.Statements.cs
- LoginView.cs
- ParenthesizePropertyNameAttribute.cs
- FileRecordSequence.cs
- Geometry3D.cs
- XmlSchemaInferenceException.cs
- UriTemplateQueryValue.cs
- ContextToken.cs