Type.GetFunctionPointerCallingConventions 方法

定義

在衍生類別中覆寫時,傳回目前函式指標 Type 的呼叫慣例。

public:
 virtual cli::array <Type ^> ^ GetFunctionPointerCallingConventions();
public virtual Type[] GetFunctionPointerCallingConventions ();
abstract member GetFunctionPointerCallingConventions : unit -> Type[]
override this.GetFunctionPointerCallingConventions : unit -> Type[]
Public Overridable Function GetFunctionPointerCallingConventions () As Type()

傳回

Type[]

物件的陣列 Type ,表示目前函式指標 Type 的所有呼叫慣例。

-或-

如果目前函式指標 Type 未定義呼叫慣例,則為 型 Type 別的空陣列。

-或-

型別的 Type 空陣列,如果目前的函式指標 Type 不是修改 Type 的 。 已 Type 修改的 是從 、 GetModifiedPropertyType()GetModifiedParameterType() 取得 GetModifiedFieldType()

例外狀況

目前的類型不是函式指標。 亦即,IsFunctionPointer 屬性會傳回 false

備註

這個方法提供給 Managed 編譯器的設計工具。 如需自訂修飾詞的詳細資訊,請參閱 命名空間中的 System.Runtime.CompilerServices 類別。

適用於