TypeDelegator.GetFunctionPointerCallingConventions 方法

定義

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

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

傳回

Type[]

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

-或-

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

-或-

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

例外狀況

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

備註

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

適用於