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

FUNC_DISPATCH 4

La fonction est accessible uniquement par l'intermédiaire de IDispatch.

FUNC_NONVIRTUAL 2

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

FUNC_PUREVIRTUAL 1

La fonction est accessible par l'intermédiaire de la table de fonctions virtuelles (VTBL, virtual function table) et accepte un pointeur this implicite.

FUNC_STATIC 3

La fonction est accessible par une adresse static et n'accepte pas de pointeur this implicite.

FUNC_VIRTUAL 0

La fonction est accessible de la même manière que FUNC_PUREVIRTUAL sauf qu'elle possède une implémentation.

Remarques

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

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

S’applique à