CodeMethodReturnStatement.Expression 屬性

定義

取得或設定回傳值。

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

屬性值

A CodeExpression 表示回傳陳述式的回傳值,或 null 該陳述句是否屬於子程式。

備註

這個屬性應該只 null 用於子程式,且設定為非 null 函式的。

適用於

另請參閱