ITypeInfo.GetRefTypeOfImplType(UInt32, UInt32) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
为组件对象类 (coclass) 或继承的接口检索实现的接口类型的类型说明。
public:
void GetRefTypeOfImplType(System::UInt32 index, [Runtime::InteropServices::Out] System::UInt32 % pRefType);
void GetRefTypeOfImplType(unsigned int index, [Runtime::InteropServices::Out] unsigned int & pRefType);
public void GetRefTypeOfImplType (uint index, out uint pRefType);
abstract member GetRefTypeOfImplType : uint32 * uint32 -> unit
Public Sub GetRefTypeOfImplType (index As UInteger, ByRef pRefType As UInteger)
参数
- index
- UInt32
返回其句柄的已实现类型的索引。 有效范围为0到结构中的 cImplTypes 成员 Microsoft.VisualStudio.OLE.Interop.TYPEATTR 。
- pRefType
- UInt32
返回时,如果有任何) ,则为实现接口的句柄的指针 (。 此句柄可传递给 GetRefTypeInfo(UInt32, Type) 以获取类型说明。
注解
若要访问 Microsoft.VisualStudio.OLE.Interop.TYPEATTR 库和文档,需要 Visual Studio SDK 从 Visual Studio 扩展性 站点下载。