CodeVariableDeclarationStatement Constructor (String^, String^)

 

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

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

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

Parameters

type
Type: System::String^

The name of 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: