FieldInfo.GetModifiedFieldType 方法

定義

取得這個欄位物件的修改類型。

public:
 virtual Type ^ GetModifiedFieldType();
public virtual Type GetModifiedFieldType ();
abstract member GetModifiedFieldType : unit -> Type
override this.GetModifiedFieldType : unit -> Type
Public Overridable Function GetModifiedFieldType () As Type

傳回

已修改的類型。

備註

已修改的類型支援 GetOptionalCustomModifiersGetRequiredCustomModifiersGetFunctionPointerCallingConventions 以及用來從函式指標取得自定義修飾詞。

若要從修改的類型取得一般、未修改的類型,請使用 UnderlyingSystemType

這個方法提供給Managed編譯程式的設計工具。 如需自定義修飾詞的詳細資訊,請參閱 命名空間中的 System.Runtime.CompilerServices 類別。 另請參閱 Common Language Infrastructure (CLI) 檔中的分割區 II 中的元數據規格。

適用於

另請參閱