DescriptionAttribute(String) Construtor
Definição
Importante
Algumas informações dizem respeito a um produto pré-lançado que pode ser substancialmente modificado antes de ser lançado. A Microsoft não faz garantias, de forma expressa ou implícita, em relação à informação aqui apresentada.
Inicializa uma nova instância da DescriptionAttribute classe.
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
A descrição do conjunto (aplicação), componente, método ou interface.
Exemplos
O seguinte exemplo de código demonstra a utilização deste construtor.
[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.")>