DescriptionAttribute(String) Constructor

Definitie

Initialiseert een nieuw exemplaar van de DescriptionAttribute klasse.

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

Parameters

desc
String

De beschrijving van de assembly (toepassing), het onderdeel, de methode of de interface.

Voorbeelden

In het volgende codevoorbeeld wordt het gebruik van deze constructor gedemonstreerd.

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

Van toepassing op