Freigeben über


CodeComment-Konstruktor (String, Boolean)

Initialisiert eine neue Instanz der CodeComment-Klasse unter Verwendung des angegebenen Textes und des angegebenen Flags für Dokumentationskommentare.

Namespace: System.CodeDom
Assembly: System (in system.dll)

Syntax

'Declaration
Public Sub New ( _
    text As String, _
    docComment As Boolean _
)
'Usage
Dim text As String
Dim docComment As Boolean

Dim instance As New CodeComment(text, docComment)
public CodeComment (
    string text,
    bool docComment
)
public:
CodeComment (
    String^ text, 
    bool docComment
)
public CodeComment (
    String text, 
    boolean docComment
)
public function CodeComment (
    text : String, 
    docComment : boolean
)

Parameter

  • text
    Der Inhalt des Kommentars.
  • docComment
    true, wenn es sich bei dem Kommentar um einen Dokumentationskommentar handelt, andernfalls false.

Plattformen

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

.NET Framework unterstützt nicht alle Versionen sämtlicher Plattformen. Eine Liste der unterstützten Versionen finden Sie unter Systemanforderungen.

Versionsinformationen

.NET Framework

Unterstützt in: 2.0, 1.1, 1.0

Siehe auch

Referenz

CodeComment-Klasse
CodeComment-Member
System.CodeDom-Namespace