FUNCKIND 列舉

定義

警告

Use System.Runtime.InteropServices.ComTypes.FUNCKIND instead. http://go.microsoft.com/fwlink/?linkid=14202

請改用 FUNCKIND

C#
[System.Runtime.InteropServices.ComVisible(false)]
[System.Serializable]
public enum FUNCKIND
C#
[System.Serializable]
[System.Obsolete("Use System.Runtime.InteropServices.ComTypes.FUNCKIND instead. http://go.microsoft.com/fwlink/?linkid=14202", false)]
public enum FUNCKIND
繼承
FUNCKIND
屬性

欄位

名稱 Description
FUNC_DISPATCH 4

函式只能透過 IDispatch 來存取。

FUNC_NONVIRTUAL 2

此函式是透過 static 位址來存取,並接受隱含的 this 指標。

FUNC_PUREVIRTUAL 1

函式透過虛擬函式表 (Virtual Function Table,VTBL) 來存取,並接受隱含 this 指標。

FUNC_STATIC 3

此函式是透過 static 位址來存取,且不接受隱含的 this 指標。

FUNC_VIRTUAL 0

函式以如同 FUNC_PUREVIRTUAL 的方式被存取,只差別在這函式具有實作。

備註

如需 的詳細資訊 FUNCKIND,請參閱 MSDN 連結庫。

適用於

產品 版本 (已過時)
.NET Framework 1.1 (2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1)