TypeBuilder.DeclaringMethod 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得宣告當前泛型參數的方法。
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 。