Edit

Share via


IDebugClassField::EnumConstructors

Creates an enumerator for the constructors for this class.

Syntax

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