CodeVariableDeclarationStatement Constructor (CodeTypeReference^, String^)
.NET Framework (current version)
Initializes a new instance of the CodeVariableDeclarationStatement class using the specified type and name.
Assembly: System (in System.dll)
Parameters
- type
-
Type:
System.CodeDom::CodeTypeReference^
A CodeTypeReference that indicates the data type of the variable.
- name
-
Type:
System::String^
The name of the variable.
.NET Framework
Available since 1.1
Available since 1.1
Show: