IMetaDataImport::EnumInterfaceImpls Method

Enumerates MethodDef tokens representing interface implementations.

Syntax

HRESULT EnumInterfaceImpls (  
   [in, out]  HCORENUM       *phEnum,   
   [in]   mdTypeDef          td,  
   [out]  mdInterfaceImpl    rImpls[],   
   [in]   ULONG              cMax,  
   [out]  ULONG*             pcImpls  
);  

Parameters

phEnum
[in, out] A pointer to the enumerator.

td
[in] The token of the TypeDef whose MethodDef tokens representing interface implementations are to be enumerated.

rImpls
[out] The array used to store the MethodDef tokens.

cMax
[in] The maximum size of the rImpls array.

pcImpls
[out] The actual number of tokens returned in rImpls.

Return Value

HRESULT Description
S_OK EnumInterfaceImpls returned successfully.
S_FALSE There are no MethodDef tokens to enumerate. In that case, pcImpls is set to zero.

Requirements

Platforms: See System Requirements.

Header: Cor.h

Library: Included as a resource in MsCorEE.dll

.NET Framework Versions: Available since 1.0

See Also

IMetaDataImport Interface
IMetaDataImport2 Interface