Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
CodeLabeledStatement Constructor (String, CodeStatement)

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


Type: System.String

The name of the label.

Type: System.CodeDom.CodeStatement

The CodeStatement to associate with the label.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
© 2015 Microsoft