DescriptionAttribute Constructor (String)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Initializes a new instance of the DescriptionAttribute class.

Namespace:   System.EnterpriseServices
Assembly:  System.EnterpriseServices (in System.EnterpriseServices.dll)

public DescriptionAttribute(
	string desc


Type: System.String

The description of the assembly (application), component, method, or interface.

The following code example demonstrates the use of this constructor.

[assembly: Description("A system for ensuring that the correct account balance is stored after a transaction.")]

.NET Framework
Available since 1.1
Return to top