Partager via


IDebugClassField::EnumConstructors

Creates an enumerator for the constructors for this class.

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

Parameters

  • cMatch
    [in] A value from the CONSTRUCTOR_ENUM enumeration that specifies the type of constructors to enumeration.

  • ppEnum
    [out] Returns an IEnumDebugFields object representing the list of constructors. Returns a null value if there are no constructors.

Return Value

If successful, returns S_OK or returns S_FALSE if there are no constructors. Otherwise, returns an error code.

Remarks

Each element of the enumeration is an IDebugMethodField object describing a constructor method.

The list of constructors typically does not include the default constructors supplied by a compiler.

See Also

Reference

IDebugClassField

IEnumDebugFields

IDebugMethodField

CONSTRUCTOR_ENUM