Condividi tramite


IDebugClassField:: EnumConstructors

Crea un enumeratore per i costruttori per la classe.

HRESULT EnumConstructors( 
   CONSTRUCTOR_ENUM   cMatch,
   IEnumDebugFields** ppEnum
);
int EnumConstructors(
   CONSTRUCTOR_ENUM     cMatch, 
   out IEnumDebugFields ppEnum
);

Parametri

  • cMatch
    [in] Un valore CONSTRUCTOR_ENUM dell'enumerazione che specifica il tipo di costruttori di enumerazione.

  • ppEnum
    [out] Restituisce IEnumDebugFields un oggetto che rappresenta l'elenco dei costruttori. Restituisce un valore null se non esistono costruttori.

Valore restituito

Se l'operazione riesce, restituisce S_OK o restituisce S_FALSE se non esistono costruttori. In caso contrario, restituisce un codice di errore.

Note

Ogni elemento dell'enumerazione è IDebugMethodField un oggetto che descrive un metodo del costruttore.

L'elenco dei costruttori in genere non include i costruttori predefiniti forniti da un compilatore.

Vedere anche

Riferimenti

IDebugClassField

IEnumDebugFields

IDebugMethodField

CONSTRUCTOR_ENUM