Partager via


IDebugClassField::EnumInterfacesImplemented

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. 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 interfaces implemented by this class.

Syntax

HRESULT EnumInterfacesImplemented( 
   IEnumDebugFields** ppEnum
);
int EnumInterfacesImplemented(
   out IEnumDebugFields ppEnum
);

Parameters

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

Return Value

If successful, returns S_OK or returns S_FALSE if there are no interfaces implemented on this class. Otherwise, returns an error code.

Remarks

Each element of the enumeration is an IDebugClassField object describing an interface. Note that unmanaged Visual C++ code does not use interfaces as a discrete entity so this method always returns a null value for unmanaged Visual C++ code.

See also