Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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; } } } }
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SmtpCommands.cs
- SectionUpdates.cs
- MailMessageEventArgs.cs
- TdsEnums.cs
- IntSecurity.cs
- ReflectionPermission.cs
- XPathParser.cs
- PageStatePersister.cs
- XDRSchema.cs
- BitmapMetadataEnumerator.cs
- UpdateCommand.cs
- Button.cs
- DataKeyArray.cs
- TableSectionStyle.cs
- XmlSchemaSubstitutionGroup.cs
- DataBindingHandlerAttribute.cs
- TcpConnectionPool.cs
- EditorPart.cs
- OracleTimeSpan.cs
- ColumnResizeUndoUnit.cs
- ImageList.cs
- CodeMemberEvent.cs
- CodeParameterDeclarationExpression.cs
- ExpressionEditorAttribute.cs
- ClassData.cs
- OdbcConnectionHandle.cs
- SqlGenericUtil.cs
- EventSourceCreationData.cs
- UxThemeWrapper.cs
- XmlSerializerVersionAttribute.cs
- DataExpression.cs
- EventData.cs
- PropertyKey.cs
- HelpInfo.cs
- ObjectDataSourceFilteringEventArgs.cs
- TextServicesContext.cs
- UInt64.cs
- ProfileInfo.cs
- SessionState.cs
- PerformanceCounterPermission.cs
- wmiprovider.cs
- DefaultHttpHandler.cs
- TextParagraphView.cs
- KeyConstraint.cs
- CompensationToken.cs
- ListArgumentProvider.cs
- OracleConnectionStringBuilder.cs
- QilGenerator.cs
- MetabaseServerConfig.cs
- UInt64Storage.cs
- WebBrowsableAttribute.cs
- SqlDataSourceRefreshSchemaForm.cs
- NameTable.cs
- DataPager.cs
- ListViewPagedDataSource.cs
- base64Transforms.cs
- ViewKeyConstraint.cs
- HttpHostedTransportConfiguration.cs
- FaultHandlingFilter.cs
- PropertyGridCommands.cs
- TextEffect.cs
- FirstMatchCodeGroup.cs
- BaseCollection.cs
- StateDesigner.Helpers.cs
- CodeVariableReferenceExpression.cs
- SchemaMapping.cs
- MultilineStringEditor.cs
- XmlNamedNodeMap.cs
- Subset.cs
- TextCollapsingProperties.cs
- MachineSettingsSection.cs
- unsafeIndexingFilterStream.cs
- SqlUtil.cs
- DetailsViewRow.cs
- RelationshipConstraintValidator.cs
- StorageInfo.cs
- GeneralTransformGroup.cs
- XmlMapping.cs
- GorillaCodec.cs
- SQLSingle.cs
- MessageBox.cs
- DataRelationPropertyDescriptor.cs
- XmlCustomFormatter.cs
- MailDefinitionBodyFileNameEditor.cs
- PropertyDescriptorComparer.cs
- SiteMap.cs
- SkewTransform.cs
- AdjustableArrowCap.cs
- IndexExpression.cs
- HttpRuntimeSection.cs
- SqlCharStream.cs
- Buffer.cs
- DataSourceXmlAttributeAttribute.cs
- SymmetricAlgorithm.cs
- FileSystemEventArgs.cs
- ElementMarkupObject.cs
- EditCommandColumn.cs
- MenuEventArgs.cs
- XmlNotation.cs
- ReachSerializationUtils.cs