PropertyGeneratedEventArgs.AdditionalGetStatements 屬性

定義

取得 List(CodeStatement),其中包含要加入至屬性的 Get 陳述式。

public:
 property System::Collections::Generic::List<System::CodeDom::CodeStatement ^> ^ AdditionalGetStatements { System::Collections::Generic::List<System::CodeDom::CodeStatement ^> ^ get(); };
public System.Collections.Generic.List<System.CodeDom.CodeStatement> AdditionalGetStatements { get; }
member this.AdditionalGetStatements : System.Collections.Generic.List<System.CodeDom.CodeStatement>
Public ReadOnly Property AdditionalGetStatements As List(Of CodeStatement)

屬性值

包含要加入到此屬性之 Get 陳述式的集合。

備註

List(CodeStatement)用來指定 語句,以新增至 屬性的 get 存取子。 這些陳述式會在 OnPropertyGenerated 事件引發之後插入。

適用於

另請參閱