CodeMemberProperty.SetStatements プロパティ

定義

プロパティの set ステートメントのコレクションを取得します。

public:
 property System::CodeDom::CodeStatementCollection ^ SetStatements { System::CodeDom::CodeStatementCollection ^ get(); };
public System.CodeDom.CodeStatementCollection SetStatements { get; }
member this.SetStatements : System.CodeDom.CodeStatementCollection
Public ReadOnly Property SetStatements As CodeStatementCollection

プロパティ値

メンバー プロパティのset ステートメントを格納するCodeStatementCollection

注釈

このコレクションのステートメントの 1 つは、通常、プロパティの値を設定します。 多くの場合、set メソッド アクセサー内のステートメントは、プロパティの指定した値を設定または変換するかどうかを判断するチェックを実行します。 CodePropertySetValueReferenceExpressionは、set メソッドに渡されるオブジェクトへの参照を表します。

適用対象

こちらもご覧ください