VCCodeUnion.DocComment Eigenschaft

Definition

Legt den Dokument Kommentar für das aktuelle Code Modellelement fest oder ruft ihn ab.

public:
 property System::String ^ DocComment { System::String ^ get(); void set(System::String ^ value); };
public:
 property Platform::String ^ DocComment { Platform::String ^ get(); void set(Platform::String ^ value); };
[System.Runtime.InteropServices.DispId(37)]
public string DocComment { [System.Runtime.InteropServices.DispId(37)] [System.Runtime.InteropServices.TypeLibFunc(System.Runtime.InteropServices.TypeLibFuncFlags.FNonBrowsable)] get; [System.Runtime.InteropServices.DispId(37)] [System.Runtime.InteropServices.TypeLibFunc(System.Runtime.InteropServices.TypeLibFuncFlags.FNonBrowsable)] set; }
[<System.Runtime.InteropServices.DispId(37)>]
[<get: System.Runtime.InteropServices.DispId(37)>]
[<get: System.Runtime.InteropServices.TypeLibFunc(System.Runtime.InteropServices.TypeLibFuncFlags.FNonBrowsable)>]
[<set: System.Runtime.InteropServices.DispId(37)>]
[<set: System.Runtime.InteropServices.TypeLibFunc(System.Runtime.InteropServices.TypeLibFuncFlags.FNonBrowsable)>]
member this.DocComment : string with get, set
Public Property DocComment As String

Eigenschaftswert

String

Der zum aktuellen Codemodellelement zugeordnete Dokumentkommentar.

Attribute

Hinweise

DocComment Gibt den speziellen Dokumentations Kommentar oder das Attribut zurück, wenn ein Code im Code vorhanden ist. Wenn die Sprache, die das Code Modell implementiert, nicht über einen Dokumentations Kommentar Mechanismus verfügt, oder wenn keine dem Code Element zugeordneten Sprache vorhanden ist, wird DocComment eine leere Zeichenfolge zurückgegeben.

Hinweis

Diese Eigenschaft ist für Code Elemente des Visual Basic Quellcodes schreibgeschützt.

Gilt für