Freigeben über


CodeVariableDeclarationStatement-Konstruktor (String, String)

Initialisiert eine neue Instanz der CodeVariableDeclarationStatement-Klasse unter Verwendung des angegebenen Datentyp- und Variablennamens.

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

Syntax

'Declaration
Public Sub New ( _
    type As String, _
    name As String _
)
'Usage
Dim type As String
Dim name As String

Dim instance As New CodeVariableDeclarationStatement(type, name)
public CodeVariableDeclarationStatement (
    string type,
    string name
)
public:
CodeVariableDeclarationStatement (
    String^ type, 
    String^ name
)
public CodeVariableDeclarationStatement (
    String type, 
    String name
)
public function CodeVariableDeclarationStatement (
    type : String, 
    name : String
)

Parameter

  • type
    Der Name für den Datentyp der Variablen.
  • name
    Der Name der Variablen.

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

CodeVariableDeclarationStatement-Klasse
CodeVariableDeclarationStatement-Member
System.CodeDom-Namespace