다음을 통해 공유


IDebugClassField::EnumConstructors

Note

This article applies to Visual Studio 2015. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

Creates an enumerator for the constructors for this class.

Syntax

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

IDebugClassField
IEnumDebugFields
IDebugMethodField
CONSTRUCTOR_ENUM