CodeVariableDeclarationStatement Конструкторы
Определение
Важно!
Некоторые сведения относятся к предварительной версии продукта, в которую до выпуска могут быть внесены существенные изменения. Майкрософт не предоставляет никаких гарантий, явных или подразумеваемых, относительно приведенных здесь сведений.
Инициализирует новый экземпляр класса CodeVariableDeclarationStatement.
Перегрузки
| Имя | Описание |
|---|---|
| CodeVariableDeclarationStatement() |
Инициализирует новый экземпляр класса CodeVariableDeclarationStatement. |
| CodeVariableDeclarationStatement(CodeTypeReference, String) |
Инициализирует новый экземпляр класса с помощью указанного CodeVariableDeclarationStatement типа и имени. |
| CodeVariableDeclarationStatement(String, String) |
Инициализирует новый экземпляр класса с помощью указанного CodeVariableDeclarationStatement имени типа данных и имени переменной. |
| CodeVariableDeclarationStatement(Type, String) |
Инициализирует новый экземпляр класса с помощью указанного CodeVariableDeclarationStatement типа данных и имени переменной. |
| CodeVariableDeclarationStatement(CodeTypeReference, String, CodeExpression) |
Инициализирует новый экземпляр класса с помощью указанного типа данных, имени переменной CodeVariableDeclarationStatement и выражения инициализации. |
| CodeVariableDeclarationStatement(String, String, CodeExpression) |
Инициализирует новый экземпляр класса с помощью указанного типа данных, имени переменной CodeVariableDeclarationStatement и выражения инициализации. |
| CodeVariableDeclarationStatement(Type, String, CodeExpression) |
Инициализирует новый экземпляр класса с помощью указанного типа данных, имени переменной CodeVariableDeclarationStatement и выражения инициализации. |
CodeVariableDeclarationStatement()
- Исходный код:
- CodeVariableDeclarationStatement.cs
- Исходный код:
- CodeVariableDeclarationStatement.cs
- Исходный код:
- CodeVariableDeclarationStatement.cs
- Исходный код:
- CodeVariableDeclarationStatement.cs
- Исходный код:
- CodeVariableDeclarationStatement.cs
- Исходный код:
- CodeVariableDeclarationStatement.cs
- Исходный код:
- CodeVariableDeclarationStatement.cs
Инициализирует новый экземпляр класса CodeVariableDeclarationStatement.
public:
CodeVariableDeclarationStatement();
public CodeVariableDeclarationStatement();
Public Sub New ()
Применяется к
CodeVariableDeclarationStatement(CodeTypeReference, String)
- Исходный код:
- CodeVariableDeclarationStatement.cs
- Исходный код:
- CodeVariableDeclarationStatement.cs
- Исходный код:
- CodeVariableDeclarationStatement.cs
- Исходный код:
- CodeVariableDeclarationStatement.cs
- Исходный код:
- CodeVariableDeclarationStatement.cs
- Исходный код:
- CodeVariableDeclarationStatement.cs
- Исходный код:
- CodeVariableDeclarationStatement.cs
Инициализирует новый экземпляр класса с помощью указанного CodeVariableDeclarationStatement типа и имени.
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)
Параметры
- type
- CodeTypeReference
Значение, CodeTypeReference указывающее тип данных переменной.
- name
- String
Имя переменной.
Применяется к
CodeVariableDeclarationStatement(String, String)
- Исходный код:
- CodeVariableDeclarationStatement.cs
- Исходный код:
- CodeVariableDeclarationStatement.cs
- Исходный код:
- CodeVariableDeclarationStatement.cs
- Исходный код:
- CodeVariableDeclarationStatement.cs
- Исходный код:
- CodeVariableDeclarationStatement.cs
- Исходный код:
- CodeVariableDeclarationStatement.cs
- Исходный код:
- CodeVariableDeclarationStatement.cs
Инициализирует новый экземпляр класса с помощью указанного CodeVariableDeclarationStatement имени типа данных и имени переменной.
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)
Параметры
- type
- String
Имя типа данных переменной.
- name
- String
Имя переменной.
Применяется к
CodeVariableDeclarationStatement(Type, String)
- Исходный код:
- CodeVariableDeclarationStatement.cs
- Исходный код:
- CodeVariableDeclarationStatement.cs
- Исходный код:
- CodeVariableDeclarationStatement.cs
- Исходный код:
- CodeVariableDeclarationStatement.cs
- Исходный код:
- CodeVariableDeclarationStatement.cs
- Исходный код:
- CodeVariableDeclarationStatement.cs
- Исходный код:
- CodeVariableDeclarationStatement.cs
Инициализирует новый экземпляр класса с помощью указанного CodeVariableDeclarationStatement типа данных и имени переменной.
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)
Параметры
- type
- Type
Тип данных для переменной.
- name
- String
Имя переменной.
Применяется к
CodeVariableDeclarationStatement(CodeTypeReference, String, CodeExpression)
- Исходный код:
- CodeVariableDeclarationStatement.cs
- Исходный код:
- CodeVariableDeclarationStatement.cs
- Исходный код:
- CodeVariableDeclarationStatement.cs
- Исходный код:
- CodeVariableDeclarationStatement.cs
- Исходный код:
- CodeVariableDeclarationStatement.cs
- Исходный код:
- CodeVariableDeclarationStatement.cs
- Исходный код:
- CodeVariableDeclarationStatement.cs
Инициализирует новый экземпляр класса с помощью указанного типа данных, имени переменной CodeVariableDeclarationStatement и выражения инициализации.
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)
Параметры
- type
- CodeTypeReference
Значение, CodeTypeReference указывающее тип переменной.
- name
- String
Имя переменной.
- initExpression
- CodeExpression
Значение, CodeExpression указывающее выражение инициализации для переменной.
См. также раздел
Применяется к
CodeVariableDeclarationStatement(String, String, CodeExpression)
- Исходный код:
- CodeVariableDeclarationStatement.cs
- Исходный код:
- CodeVariableDeclarationStatement.cs
- Исходный код:
- CodeVariableDeclarationStatement.cs
- Исходный код:
- CodeVariableDeclarationStatement.cs
- Исходный код:
- CodeVariableDeclarationStatement.cs
- Исходный код:
- CodeVariableDeclarationStatement.cs
- Исходный код:
- CodeVariableDeclarationStatement.cs
Инициализирует новый экземпляр класса с помощью указанного типа данных, имени переменной CodeVariableDeclarationStatement и выражения инициализации.
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)
Параметры
- type
- String
Имя типа данных переменной.
- name
- String
Имя переменной.
- initExpression
- CodeExpression
Значение, CodeExpression указывающее выражение инициализации для переменной.
Применяется к
CodeVariableDeclarationStatement(Type, String, CodeExpression)
- Исходный код:
- CodeVariableDeclarationStatement.cs
- Исходный код:
- CodeVariableDeclarationStatement.cs
- Исходный код:
- CodeVariableDeclarationStatement.cs
- Исходный код:
- CodeVariableDeclarationStatement.cs
- Исходный код:
- CodeVariableDeclarationStatement.cs
- Исходный код:
- CodeVariableDeclarationStatement.cs
- Исходный код:
- CodeVariableDeclarationStatement.cs
Инициализирует новый экземпляр класса с помощью указанного типа данных, имени переменной CodeVariableDeclarationStatement и выражения инициализации.
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)
Параметры
- type
- Type
Тип данных переменной.
- name
- String
Имя переменной.
- initExpression
- CodeExpression
Значение, CodeExpression указывающее выражение инициализации для переменной.