Partager via


DescriptionAttribute(String) Constructeur

Définition

Initialise une nouvelle instance de la classe DescriptionAttribute.

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

Paramètres

desc
String

Description de l’assembly (application), du composant, de la méthode ou de l’interface.

Exemples

L’exemple de code suivant illustre l’utilisation de ce constructeur.

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

S’applique à