DescriptionAttribute Class
.NET Framework 3.0
Sets the description on an assembly (application), component, method, or interface. This class cannot be inherited.
Namespace: System.EnterpriseServices
Assembly: System.EnterpriseServices (in system.enterpriseservices.dll)
Assembly: System.EnterpriseServices (in system.enterpriseservices.dll)
[ComVisibleAttribute(false)] [AttributeUsageAttribute(AttributeTargets.Assembly|AttributeTargets.Class|AttributeTargets.Method|AttributeTargets.Interface, Inherited=true)] public sealed class DescriptionAttribute : Attribute
/** @attribute ComVisibleAttribute(false) */ /** @attribute AttributeUsageAttribute(AttributeTargets.Assembly|AttributeTargets.Class|AttributeTargets.Method|AttributeTargets.Interface, Inherited=true) */ public final class DescriptionAttribute extends Attribute
ComVisibleAttribute(false) AttributeUsageAttribute(AttributeTargets.Assembly|AttributeTargets.Class|AttributeTargets.Method|AttributeTargets.Interface, Inherited=true) public final class DescriptionAttribute extends Attribute
Not applicable.
For more information about using attributes, see Extending Metadata Using Attributes.
The following code example demonstrates the use of this attribute.
[assembly: Description("A system for ensuring that the correct account balance is stored after a transaction.")]
/** @assembly Description("A system for ensuring that the correct account "
+ " balance is stored after a transaction.")
*/
Community Additions
ADD
Show: