CodeVariableDeclarationStatement Constructor (Type^, String^)

 

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

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

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

Parameters

type
Type: System::Type^

The data type for the variable.

name
Type: System::String^

The name of the variable.

.NET Framework
Available since 1.1
Return to top
Show: