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: See .NET Framework System Requirements.
Header: Cor.h
Library: Included as a resource in MsCorEE.dll
.NET Framework Versions: 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0, 1.1, 1.0