CodeLabeledStatement.Statement 屬性

定義

取得或設定選擇性相關陳述式。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

屬性值

CodeStatement,表示與標記相關的陳述式。A CodeStatement that indicates the statement associated with the label.

備註

如果未設定這個屬性, 則CodeLabeledStatement只會代表標籤, 而不是標記的語句。If this property is not set, the CodeLabeledStatement represents only a label, rather than a labeled statement.

適用於