ElementInit.AddMethod 屬性

定義

取得可用來將項目加入 IEnumerable 集合的執行個體方法。

public:
 property System::Reflection::MethodInfo ^ AddMethod { System::Reflection::MethodInfo ^ get(); };
public System.Reflection.MethodInfo AddMethod { get; }
member this.AddMethod : System.Reflection.MethodInfo
Public ReadOnly Property AddMethod As MethodInfo

屬性值

MethodInfo

MethodInfo,代表會將項目加入集合的執行個體方法。

適用於