Share via


TypeDelegator.GetFunctionPointerParameterTypes 方法

定義

在衍生類別中覆寫時,傳回目前函式指標 Type的參數型別。

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

傳回

Type[]

對象的陣列 Type ,表示目前函式指標 Type的所有參數類型。

-或-

如果目前函式指標Type未定義任何參數,則為 型Type別的空陣列。

例外狀況

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

適用於