CodeVariableDeclarationStatement Constructor (CodeTypeReference^, String^)

 

Initializes a new instance of the CodeVariableDeclarationStatement class using the specified type and name.

Namespace:   System.CodeDom
Assembly:  System (in System.dll)

public:
CodeVariableDeclarationStatement(
	CodeTypeReference^ type,
	String^ name
)

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
Return to top
Show: