IMetaDataImport::GetInterfaceImplProps 方法 (rometadataapi.h)

获取一个指针,该指针指向实现指定方法的 Type 和声明该方法的接口的元数据标记。

语法

HRESULT GetInterfaceImplProps(
  [in]  mdInterfaceImpl tkInterfaceImpl,
  [out] mdTypeDef       *ptkClass,
  [out] mdToken         *ptkIface
);

参数

[in] tkInterfaceImpl

表示要返回其类和接口标记的方法的元数据标记。

[out] ptkClass

表示实现 方法的类的元数据标记。

[out] ptkIface

表示定义已实现方法的接口的元数据标记。

返回值

如果该方法成功,则返回 S_OK。 否则,将返回 HRESULT 错误代码。

要求

要求
目标平台 Windows
标头 rometadataapi.h

另请参阅

IMetaDataImport