ITypeInfo.GetRefTypeOfImplType 方法

检索实现的接口类型的类型声明一个组件对象类 (coclass) 或一个继承接口的。

命名空间:  Microsoft.VisualStudio.VsWizard
程序集:  Microsoft.VisualStudio.VsWizard(在 Microsoft.VisualStudio.VsWizard.dll 中)

语法

声明
Sub GetRefTypeOfImplType ( _
    index As UInteger, _
    <OutAttribute> ByRef pRefType As UInteger _
)
void GetRefTypeOfImplType(
    uint index,
    out uint pRefType
)
void GetRefTypeOfImplType(
    [InAttribute] unsigned int index, 
    [OutAttribute] unsigned int% pRefType
)
abstract GetRefTypeOfImplType : 
        index:uint32 * 
        pRefType:uint32 byref -> unit 
function GetRefTypeOfImplType(
    index : uint, 
    pRefType : uint
)

参数

  • index
    类型:System.UInt32
    返回其句柄的已实现类型的索引。有效范围为 0 到 Microsoft.VisualStudio.OLE.Interop.TYPEATTR 结构的 cImplTypes 成员。
  • pRefType
    类型:System.UInt32%
    在回,指针实现的接口的句柄 (如果有)。此句柄可传递给 GetRefTypeInfo 获取该类型声明。

备注

Microsoft.VisualStudio.OLE.Interop.TYPEATTR 库和文档的 get 访问,需要下载从站点的 Visual Studio ExtensibilityVisual Studio SDK 。

.NET Framework 安全性

请参见

参考

ITypeInfo 接口

Microsoft.VisualStudio.VsWizard 命名空间