PropertyBuilder.AddOtherMethod(MethodBuilder) 方法

定義

加入其中一個與這個屬性相關聯的其他方法。

public:
 void AddOtherMethod(System::Reflection::Emit::MethodBuilder ^ mdBuilder);
public void AddOtherMethod (System.Reflection.Emit.MethodBuilder mdBuilder);
member this.AddOtherMethod : System.Reflection.Emit.MethodBuilder -> unit
Public Sub AddOtherMethod (mdBuilder As MethodBuilder)

參數

mdBuilder
MethodBuilder

表示另一個方法的 MethodBuilder 物件。

例外狀況

mdBuildernull

CreateType() 已在封入型別上被呼叫。

適用於