TypeBuilder.DeclaringMethod 屬性

定義

取得宣告當前泛型參數的方法。

public:
 virtual property System::Reflection::MethodBase ^ DeclaringMethod { System::Reflection::MethodBase ^ get(); };
public override System.Reflection.MethodBase DeclaringMethod { get; }
member this.DeclaringMethod : System.Reflection.MethodBase
Public Overrides ReadOnly Property DeclaringMethod As MethodBase

屬性值

MethodBase A 代表宣告當前型態的方法,若當前型態為泛型參數;否則,。 null

備註

Note

在輸出程式碼時,一般型態參數以物件表示 GenericTypeParameterBuilder ,而非物件 TypeBuilder

適用於