Type.GetFunctionPointerParameterTypes 方法

定義

當在導出類別中覆寫時,會回傳目前函數指標 Type的參數類型。

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

傳回

Type[]

一個代表當前函式指標Type所有參數類型的物件陣列Type

-或-

若目前函數指標Type未定義參數,則為空Type陣列型為 。

例外狀況

目前的型態不是函式指標。 也就是說,性質 IsFunctionPointer 返回 false

適用於