CodeLabeledStatement Constructor (String^, CodeStatement^)

 

Initializes a new instance of the CodeLabeledStatement class using the specified label name and statement.

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

public:
CodeLabeledStatement(
	String^ label,
	CodeStatement^ statement
)

Parameters

label
Type: System::String^

The name of the label.

statement
Type: System.CodeDom::CodeStatement^

The CodeStatement to associate with the label.

.NET Framework
Available since 1.1
Return to top
Show: