DescriptionAttribute(String) Konstruktor
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
Initierar en ny instans av DescriptionAttribute klassen.
public:
DescriptionAttribute(System::String ^ desc);
public DescriptionAttribute(string desc);
new System.EnterpriseServices.DescriptionAttribute : string -> System.EnterpriseServices.DescriptionAttribute
Public Sub New (desc As String)
Parametrar
- desc
- String
Beskrivningen av sammansättningen (programmet), komponenten, metoden eller gränssnittet.
Exempel
Följande kodexempel visar hur konstruktorn används.
[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.")>