PropertyGeneratedEventArgs.AdditionalGetStatements 屬性

定義

會取得 List(CodeStatement) 包含要加入屬性的 get 陳述式的 a。

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 accessor 的陳述句。 這些語句是在事件被提出後 OnPropertyGenerated 才插入的。

適用於

另請參閱