IMetaDataImport::EnumInterfaceImpls Method
Enumerates MethodDef tokens representing interface implementations.
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: Windows 2000, Windows XP, Windows Server 2003 family
Header: Cor.h
Library: Included as a resource in MsCorEE.dll
.NET Framework Version: 2.0, 1.1, 1.0