Type.GetFunctionPointerParameterTypes 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
當在導出類別中覆寫時,會回傳目前函數指標 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。