获取指向两种类型之间实现者关系元数据令牌的指针。
Syntax
HRESULT GetInterfaceImplProps(
[in] mdInterfaceImpl tkInterfaceImpl,
[out] mdTypeDef *ptkClass,
[out] mdToken *ptkIface
);
参数
[in] tkInterfaceImpl
表示接口实现关系的元数据令牌。
[out] ptkClass
表示实现者的元数据令牌:实现接口 ptkIface 的类或接口。
[out] ptkIface
表示实现方的元数据令牌: 由 ptkClass 实现的接口。
返回值
如果此方法成功,则返回 S_OK。 否则,它将返回 HRESULT 错误代码。
注解
InterfaceImpl 令牌表示实现类型与已实现接口之间的单个映射,如 InterfaceImpl 表中存储的那样。
要求
| Requirement | 价值 |
|---|---|
| 目标平台 | Windows操作系统 |
| 头 | rometadataapi.h |