Freigeben über


CodeCommentStatement-Konstruktor (CodeComment)

Initialisiert eine neue Instanz der CodeCommentStatement-Klasse unter Verwendung des angegebenen Kommentars.

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

Syntax

'Declaration
Public Sub New ( _
    comment As CodeComment _
)
'Usage
Dim comment As CodeComment

Dim instance As New CodeCommentStatement(comment)
public CodeCommentStatement (
    CodeComment comment
)
public:
CodeCommentStatement (
    CodeComment^ comment
)
public CodeCommentStatement (
    CodeComment comment
)
public function CodeCommentStatement (
    comment : CodeComment
)

Parameter

  • comment
    Eine CodeComment-Klasse, die den Kommentar angibt.

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

CodeCommentStatement-Klasse
CodeCommentStatement-Member
System.CodeDom-Namespace