CodeVariableDeclarationStatement Konstruktorok
Definíció
Fontos
Egyes információk olyan, kiadás előtti termékekre vonatkoznak, amelyek a kiadásig még jelentősen módosulhatnak. A Microsoft nem vállal kifejezett vagy törvényi garanciát az itt megjelenő információért.
Inicializálja a CodeVariableDeclarationStatement osztály új példányát.
Túlterhelések
| Name | Description |
|---|---|
| CodeVariableDeclarationStatement() |
Inicializálja a CodeVariableDeclarationStatement osztály új példányát. |
| CodeVariableDeclarationStatement(CodeTypeReference, String) |
Inicializálja az osztály új példányát a CodeVariableDeclarationStatement megadott típus és név használatával. |
| CodeVariableDeclarationStatement(String, String) |
Inicializálja az osztály új példányát a CodeVariableDeclarationStatement megadott adattípusnév és változónév használatával. |
| CodeVariableDeclarationStatement(Type, String) |
Inicializálja az osztály új példányát a CodeVariableDeclarationStatement megadott adattípus és változónév használatával. |
| CodeVariableDeclarationStatement(CodeTypeReference, String, CodeExpression) |
Inicializálja az osztály új példányát a CodeVariableDeclarationStatement megadott adattípus, változónév és inicializálási kifejezés használatával. |
| CodeVariableDeclarationStatement(String, String, CodeExpression) |
Inicializálja az osztály új példányát a CodeVariableDeclarationStatement megadott adattípus, változónév és inicializálási kifejezés használatával. |
| CodeVariableDeclarationStatement(Type, String, CodeExpression) |
Inicializálja az osztály új példányát a CodeVariableDeclarationStatement megadott adattípus, változónév és inicializálási kifejezés használatával. |
CodeVariableDeclarationStatement()
Inicializálja a CodeVariableDeclarationStatement osztály új példányát.
public:
CodeVariableDeclarationStatement();
public CodeVariableDeclarationStatement();
Public Sub New ()
A következőre érvényes:
CodeVariableDeclarationStatement(CodeTypeReference, String)
Inicializálja az osztály új példányát a CodeVariableDeclarationStatement megadott típus és név használatával.
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)
Paraméterek
- type
- CodeTypeReference
A CodeTypeReference változó adattípusát jelzi.
- name
- String
A változó neve.
A következőre érvényes:
CodeVariableDeclarationStatement(String, String)
Inicializálja az osztály új példányát a CodeVariableDeclarationStatement megadott adattípusnév és változónév használatával.
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)
Paraméterek
- type
- String
A változó adattípusának neve.
- name
- String
A változó neve.
A következőre érvényes:
CodeVariableDeclarationStatement(Type, String)
Inicializálja az osztály új példányát a CodeVariableDeclarationStatement megadott adattípus és változónév használatával.
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)
Paraméterek
- type
- Type
A változó adattípusa.
- name
- String
A változó neve.
A következőre érvényes:
CodeVariableDeclarationStatement(CodeTypeReference, String, CodeExpression)
Inicializálja az osztály új példányát a CodeVariableDeclarationStatement megadott adattípus, változónév és inicializálási kifejezés használatával.
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)
Paraméterek
- type
- CodeTypeReference
A CodeTypeReference változó típusát jelzi.
- name
- String
A változó neve.
- initExpression
- CodeExpression
A CodeExpression változó inicializálási kifejezését jelzi.
Lásd még
A következőre érvényes:
CodeVariableDeclarationStatement(String, String, CodeExpression)
Inicializálja az osztály új példányát a CodeVariableDeclarationStatement megadott adattípus, változónév és inicializálási kifejezés használatával.
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)
Paraméterek
- type
- String
A változó adattípusának neve.
- name
- String
A változó neve.
- initExpression
- CodeExpression
A CodeExpression változó inicializálási kifejezését jelzi.
A következőre érvényes:
CodeVariableDeclarationStatement(Type, String, CodeExpression)
Inicializálja az osztály új példányát a CodeVariableDeclarationStatement megadott adattípus, változónév és inicializálási kifejezés használatával.
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)
Paraméterek
- type
- Type
A változó adattípusa.
- name
- String
A változó neve.
- initExpression
- CodeExpression
A CodeExpression változó inicializálási kifejezését jelzi.