CodeVariableDeclarationStatement Konstruktorer

Definition

Initierar en ny instans av CodeVariableDeclarationStatement klassen.

Överlagringar

Name Description
CodeVariableDeclarationStatement()

Initierar en ny instans av CodeVariableDeclarationStatement klassen.

CodeVariableDeclarationStatement(CodeTypeReference, String)

Initierar en ny instans av CodeVariableDeclarationStatement klassen med den angivna typen och namnet.

CodeVariableDeclarationStatement(String, String)

Initierar en ny instans av klassen med hjälp av CodeVariableDeclarationStatement det angivna datatypsnamnet och variabelnamnet.

CodeVariableDeclarationStatement(Type, String)

Initierar en ny instans av klassen med hjälp av CodeVariableDeclarationStatement den angivna datatypen och variabelnamnet.

CodeVariableDeclarationStatement(CodeTypeReference, String, CodeExpression)

Initierar en ny instans av CodeVariableDeclarationStatement klassen med den angivna datatypen, variabelnamnet och initieringsuttrycket.

CodeVariableDeclarationStatement(String, String, CodeExpression)

Initierar en ny instans av CodeVariableDeclarationStatement klassen med den angivna datatypen, variabelnamnet och initieringsuttrycket.

CodeVariableDeclarationStatement(Type, String, CodeExpression)

Initierar en ny instans av CodeVariableDeclarationStatement klassen med den angivna datatypen, variabelnamnet och initieringsuttrycket.

CodeVariableDeclarationStatement()

Källa:
CodeVariableDeclarationStatement.cs
Källa:
CodeVariableDeclarationStatement.cs
Källa:
CodeVariableDeclarationStatement.cs
Källa:
CodeVariableDeclarationStatement.cs
Källa:
CodeVariableDeclarationStatement.cs
Källa:
CodeVariableDeclarationStatement.cs
Källa:
CodeVariableDeclarationStatement.cs

Initierar en ny instans av CodeVariableDeclarationStatement klassen.

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

Gäller för

CodeVariableDeclarationStatement(CodeTypeReference, String)

Källa:
CodeVariableDeclarationStatement.cs
Källa:
CodeVariableDeclarationStatement.cs
Källa:
CodeVariableDeclarationStatement.cs
Källa:
CodeVariableDeclarationStatement.cs
Källa:
CodeVariableDeclarationStatement.cs
Källa:
CodeVariableDeclarationStatement.cs
Källa:
CodeVariableDeclarationStatement.cs

Initierar en ny instans av CodeVariableDeclarationStatement klassen med den angivna typen och namnet.

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)

Parametrar

type
CodeTypeReference

En CodeTypeReference som anger variabelns datatyp.

name
String

Namn på variabeln.

Gäller för

CodeVariableDeclarationStatement(String, String)

Källa:
CodeVariableDeclarationStatement.cs
Källa:
CodeVariableDeclarationStatement.cs
Källa:
CodeVariableDeclarationStatement.cs
Källa:
CodeVariableDeclarationStatement.cs
Källa:
CodeVariableDeclarationStatement.cs
Källa:
CodeVariableDeclarationStatement.cs
Källa:
CodeVariableDeclarationStatement.cs

Initierar en ny instans av klassen med hjälp av CodeVariableDeclarationStatement det angivna datatypsnamnet och variabelnamnet.

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)

Parametrar

type
String

Namnet på variabelns datatyp.

name
String

Namn på variabeln.

Gäller för

CodeVariableDeclarationStatement(Type, String)

Källa:
CodeVariableDeclarationStatement.cs
Källa:
CodeVariableDeclarationStatement.cs
Källa:
CodeVariableDeclarationStatement.cs
Källa:
CodeVariableDeclarationStatement.cs
Källa:
CodeVariableDeclarationStatement.cs
Källa:
CodeVariableDeclarationStatement.cs
Källa:
CodeVariableDeclarationStatement.cs

Initierar en ny instans av klassen med hjälp av CodeVariableDeclarationStatement den angivna datatypen och variabelnamnet.

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)

Parametrar

type
Type

Datatypen för variabeln.

name
String

Namn på variabeln.

Gäller för

CodeVariableDeclarationStatement(CodeTypeReference, String, CodeExpression)

Källa:
CodeVariableDeclarationStatement.cs
Källa:
CodeVariableDeclarationStatement.cs
Källa:
CodeVariableDeclarationStatement.cs
Källa:
CodeVariableDeclarationStatement.cs
Källa:
CodeVariableDeclarationStatement.cs
Källa:
CodeVariableDeclarationStatement.cs
Källa:
CodeVariableDeclarationStatement.cs

Initierar en ny instans av CodeVariableDeclarationStatement klassen med den angivna datatypen, variabelnamnet och initieringsuttrycket.

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)

Parametrar

type
CodeTypeReference

En CodeTypeReference som anger typen av variabel.

name
String

Namn på variabeln.

initExpression
CodeExpression

En CodeExpression som anger initieringsuttrycket för variabeln.

Se även

Gäller för

CodeVariableDeclarationStatement(String, String, CodeExpression)

Källa:
CodeVariableDeclarationStatement.cs
Källa:
CodeVariableDeclarationStatement.cs
Källa:
CodeVariableDeclarationStatement.cs
Källa:
CodeVariableDeclarationStatement.cs
Källa:
CodeVariableDeclarationStatement.cs
Källa:
CodeVariableDeclarationStatement.cs
Källa:
CodeVariableDeclarationStatement.cs

Initierar en ny instans av CodeVariableDeclarationStatement klassen med den angivna datatypen, variabelnamnet och initieringsuttrycket.

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)

Parametrar

type
String

Namnet på variabelns datatyp.

name
String

Namn på variabeln.

initExpression
CodeExpression

En CodeExpression som anger initieringsuttrycket för variabeln.

Gäller för

CodeVariableDeclarationStatement(Type, String, CodeExpression)

Källa:
CodeVariableDeclarationStatement.cs
Källa:
CodeVariableDeclarationStatement.cs
Källa:
CodeVariableDeclarationStatement.cs
Källa:
CodeVariableDeclarationStatement.cs
Källa:
CodeVariableDeclarationStatement.cs
Källa:
CodeVariableDeclarationStatement.cs
Källa:
CodeVariableDeclarationStatement.cs

Initierar en ny instans av CodeVariableDeclarationStatement klassen med den angivna datatypen, variabelnamnet och initieringsuttrycket.

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)

Parametrar

type
Type

Variabelns datatyp.

name
String

Namn på variabeln.

initExpression
CodeExpression

En CodeExpression som anger initieringsuttrycket för variabeln.

Gäller för