CodeVariableDeclarationStatement Konstruktory

Definice

Inicializuje novou instanci CodeVariableDeclarationStatement třídy .

Přetížení

CodeVariableDeclarationStatement()

Inicializuje novou instanci CodeVariableDeclarationStatement třídy .

CodeVariableDeclarationStatement(CodeTypeReference, String)

Inicializuje novou instanci CodeVariableDeclarationStatement třídy pomocí zadaného typu a názvu.

CodeVariableDeclarationStatement(String, String)

Inicializuje novou instanci CodeVariableDeclarationStatement třídy pomocí zadaného názvu datového typu a názvu proměnné.

CodeVariableDeclarationStatement(Type, String)

Inicializuje novou instanci třídy pomocí zadaného datového CodeVariableDeclarationStatement typu a názvu proměnné.

CodeVariableDeclarationStatement(CodeTypeReference, String, CodeExpression)

Inicializuje novou instanci třídy pomocí zadaného datového CodeVariableDeclarationStatement typu, názvu proměnné a inicializačního výrazu.

CodeVariableDeclarationStatement(String, String, CodeExpression)

Inicializuje novou instanci třídy pomocí zadaného datového CodeVariableDeclarationStatement typu, názvu proměnné a inicializačního výrazu.

CodeVariableDeclarationStatement(Type, String, CodeExpression)

Inicializuje novou instanci třídy pomocí zadaného datového CodeVariableDeclarationStatement typu, názvu proměnné a inicializačního výrazu.

CodeVariableDeclarationStatement()

Zdroj:
CodeVariableDeclarationStatement.cs
Zdroj:
CodeVariableDeclarationStatement.cs
Zdroj:
CodeVariableDeclarationStatement.cs

Inicializuje novou instanci CodeVariableDeclarationStatement třídy .

public:
 CodeVariableDeclarationStatement();
public CodeVariableDeclarationStatement ();
Public Sub New ()

Platí pro

CodeVariableDeclarationStatement(CodeTypeReference, String)

Zdroj:
CodeVariableDeclarationStatement.cs
Zdroj:
CodeVariableDeclarationStatement.cs
Zdroj:
CodeVariableDeclarationStatement.cs

Inicializuje novou instanci CodeVariableDeclarationStatement třídy pomocí zadaného typu a názvu.

public:
 CodeVariableDeclarationStatement(System::CodeDom::CodeTypeReference ^ type, System::String ^ name);
public CodeVariableDeclarationStatement (System.CodeDom.CodeTypeReference type, string name);
new System.CodeDom.CodeVariableDeclarationStatement : System.CodeDom.CodeTypeReference * string -> System.CodeDom.CodeVariableDeclarationStatement
Public Sub New (type As CodeTypeReference, name As String)

Parametry

type
CodeTypeReference

A CodeTypeReference , který označuje datový typ proměnné.

name
String

Název proměnné.

Platí pro

CodeVariableDeclarationStatement(String, String)

Zdroj:
CodeVariableDeclarationStatement.cs
Zdroj:
CodeVariableDeclarationStatement.cs
Zdroj:
CodeVariableDeclarationStatement.cs

Inicializuje novou instanci CodeVariableDeclarationStatement třídy pomocí zadaného názvu datového typu a názvu proměnné.

public:
 CodeVariableDeclarationStatement(System::String ^ type, System::String ^ name);
public CodeVariableDeclarationStatement (string type, string name);
new System.CodeDom.CodeVariableDeclarationStatement : string * string -> System.CodeDom.CodeVariableDeclarationStatement
Public Sub New (type As String, name As String)

Parametry

type
String

Název datového typu proměnné.

name
String

Název proměnné.

Platí pro

CodeVariableDeclarationStatement(Type, String)

Zdroj:
CodeVariableDeclarationStatement.cs
Zdroj:
CodeVariableDeclarationStatement.cs
Zdroj:
CodeVariableDeclarationStatement.cs

Inicializuje novou instanci třídy pomocí zadaného datového CodeVariableDeclarationStatement typu a názvu proměnné.

public:
 CodeVariableDeclarationStatement(Type ^ type, System::String ^ name);
public CodeVariableDeclarationStatement (Type type, string name);
new System.CodeDom.CodeVariableDeclarationStatement : Type * string -> System.CodeDom.CodeVariableDeclarationStatement
Public Sub New (type As Type, name As String)

Parametry

type
Type

Datový typ proměnné.

name
String

Název proměnné.

Platí pro

CodeVariableDeclarationStatement(CodeTypeReference, String, CodeExpression)

Zdroj:
CodeVariableDeclarationStatement.cs
Zdroj:
CodeVariableDeclarationStatement.cs
Zdroj:
CodeVariableDeclarationStatement.cs

Inicializuje novou instanci třídy pomocí zadaného datového CodeVariableDeclarationStatement typu, názvu proměnné a inicializačního výrazu.

public:
 CodeVariableDeclarationStatement(System::CodeDom::CodeTypeReference ^ type, System::String ^ name, System::CodeDom::CodeExpression ^ initExpression);
public CodeVariableDeclarationStatement (System.CodeDom.CodeTypeReference type, string name, System.CodeDom.CodeExpression initExpression);
new System.CodeDom.CodeVariableDeclarationStatement : System.CodeDom.CodeTypeReference * string * System.CodeDom.CodeExpression -> System.CodeDom.CodeVariableDeclarationStatement
Public Sub New (type As CodeTypeReference, name As String, initExpression As CodeExpression)

Parametry

type
CodeTypeReference

A CodeTypeReference , který označuje typ proměnné.

name
String

Název proměnné.

initExpression
CodeExpression

A CodeExpression označující inicializační výraz proměnné.

Viz také

Platí pro

CodeVariableDeclarationStatement(String, String, CodeExpression)

Zdroj:
CodeVariableDeclarationStatement.cs
Zdroj:
CodeVariableDeclarationStatement.cs
Zdroj:
CodeVariableDeclarationStatement.cs

Inicializuje novou instanci třídy pomocí zadaného datového CodeVariableDeclarationStatement typu, názvu proměnné a inicializačního výrazu.

public:
 CodeVariableDeclarationStatement(System::String ^ type, System::String ^ name, System::CodeDom::CodeExpression ^ initExpression);
public CodeVariableDeclarationStatement (string type, string name, System.CodeDom.CodeExpression initExpression);
new System.CodeDom.CodeVariableDeclarationStatement : string * string * System.CodeDom.CodeExpression -> System.CodeDom.CodeVariableDeclarationStatement
Public Sub New (type As String, name As String, initExpression As CodeExpression)

Parametry

type
String

Název datového typu proměnné.

name
String

Název proměnné.

initExpression
CodeExpression

A CodeExpression označující inicializační výraz proměnné.

Platí pro

CodeVariableDeclarationStatement(Type, String, CodeExpression)

Zdroj:
CodeVariableDeclarationStatement.cs
Zdroj:
CodeVariableDeclarationStatement.cs
Zdroj:
CodeVariableDeclarationStatement.cs

Inicializuje novou instanci třídy pomocí zadaného datového CodeVariableDeclarationStatement typu, názvu proměnné a inicializačního výrazu.

public:
 CodeVariableDeclarationStatement(Type ^ type, System::String ^ name, System::CodeDom::CodeExpression ^ initExpression);
public CodeVariableDeclarationStatement (Type type, string name, System.CodeDom.CodeExpression initExpression);
new System.CodeDom.CodeVariableDeclarationStatement : Type * string * System.CodeDom.CodeExpression -> System.CodeDom.CodeVariableDeclarationStatement
Public Sub New (type As Type, name As String, initExpression As CodeExpression)

Parametry

type
Type

Datový typ proměnné.

name
String

Název proměnné.

initExpression
CodeExpression

A CodeExpression označující inicializační výraz proměnné.

Platí pro