FUNCKIND Énumération

Définition

Définit comment accéder à une fonction.

public enum class FUNCKIND
public enum FUNCKIND
[System.Serializable]
public enum FUNCKIND
type FUNCKIND = 
[<System.Serializable>]
type FUNCKIND = 
Public Enum FUNCKIND
Héritage
FUNCKIND
Attributs

Champs

Nom Valeur Description
FUNC_VIRTUAL 0

La fonction est accessible de la même façon que , sauf que FUNC_PUREVIRTUALla fonction a une implémentation.

FUNC_PUREVIRTUAL 1

La fonction est accessible via la table de fonctions virtuelles (VTBL) et prend un pointeur implicite this .

FUNC_NONVIRTUAL 2

La fonction est accessible par static adresse et prend un pointeur implicite this .

FUNC_STATIC 3

La fonction est accessible par static adresse et ne prend pas de pointeur implicite this .

FUNC_DISPATCH 4

La fonction est accessible uniquement via IDispatch.

Remarques

Pour plus d’informations, consultez l’énumération FUNCKIND.

Le Common Language Runtime lève une exception lorsqu’une méthode COM dans le code natif retourne un HRESULT. Pour plus d’informations, consultez How to : Map HRESULTs and Exceptions.

S’applique à