CodeLabeledStatement.Statement Property


Gets or sets the optional associated statement.

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

public CodeStatement Statement { get; set; }

Property Value

Type: System.CodeDom.CodeStatement

A CodeStatement that indicates the statement associated with the label.

If this property is not set, the CodeLabeledStatement represents only a label, rather than a labeled statement.

.NET Framework
Available since 1.1
Return to top