FieldBuilder.DeclaringType 屬性

定義

指出型別的 Type 物件參考,這個型別會宣告這個欄位。 這個屬性是唯讀的。

public:
 virtual property Type ^ DeclaringType { Type ^ get(); };
public override Type? DeclaringType { get; }
public override Type DeclaringType { get; }
member this.DeclaringType : Type
Public Overrides ReadOnly Property DeclaringType As Type

屬性值

型別的 Type 物件參考,這個型別會宣告這個欄位。

適用於