DescriptionAttribute(String) Constructor

Definición

Inicializa una nueva instancia de la clase DescriptionAttribute.

public:
 DescriptionAttribute(System::String ^ desc);
public DescriptionAttribute (string desc);
new System.EnterpriseServices.DescriptionAttribute : string -> System.EnterpriseServices.DescriptionAttribute
Public Sub New (desc As String)

Parámetros

desc
String

Descripción del ensamblado (aplicación), componente, método o interfaz.

Ejemplos

En el ejemplo de código siguiente se muestra el uso de este constructor.

[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.")]

<Assembly: Description("A system for ensuring that the correct account balance is stored after a transaction.")>

Se aplica a