DescriptionAttribute(String) Konstruktor

Definicja

Inicjuje nowe wystąpienie klasy DescriptionAttribute.

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

Parametry

desc
String

Opis zestawu (aplikacji), składnika, metody lub interfejsu.

Przykłady

W poniższym przykładzie kodu pokazano użycie tego konstruktora.

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

Dotyczy