CodeLabeledStatement.Statement Property

Definition

Gets or sets the optional associated statement.

public:
 property System::CodeDom::CodeStatement ^ Statement { System::CodeDom::CodeStatement ^ get(); void set(System::CodeDom::CodeStatement ^ value); };
public System.CodeDom.CodeStatement Statement { get; set; }
member this.Statement : System.CodeDom.CodeStatement with get, set
Public Property Statement As CodeStatement

Property Value

A CodeStatement that indicates the statement associated with the label.

Remarks

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

Applies to