Freigeben über


CodeComment-Konstruktor (String)

Initialisiert eine neue Instanz der CodeComment-Klasse mit dem angegebenen Text als Inhalt.

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

Syntax

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

Dim instance As New CodeComment(text)
public CodeComment (
    string text
)
public:
CodeComment (
    String^ text
)
public CodeComment (
    String text
)
public function CodeComment (
    text : String
)

Parameter

  • text
    Der Inhalt des Kommentars.

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