ITypeInfo.GetRefTypeOfImplType Method

Retrieves the type description of implemented interface types for a component object class (coclass) or an inherited interface.

Namespace:  Microsoft.VisualStudio.VsWizard
Assembly:  Microsoft.VisualStudio.VsWizard (in Microsoft.VisualStudio.VsWizard.dll)

Syntax

声明
Sub GetRefTypeOfImplType ( _
    index As UInteger, _
    <OutAttribute> ByRef pRefType As UInteger _
)
用法
Dim instance As ITypeInfo
Dim index As UInteger
Dim pRefType As UInteger

instance.GetRefTypeOfImplType(index, _
    pRefType)
void GetRefTypeOfImplType(
    uint index,
    out uint pRefType
)
void GetRefTypeOfImplType(
    [InAttribute] unsigned int index, 
    [OutAttribute] unsigned int% pRefType
)
function GetRefTypeOfImplType(
    index : uint, 
    pRefType : uint
)

Parameters

  • index
    Type: System.UInt32

    Index of the implemented type whose handle is returned. The valid range is 0 to the cImplTypes member in the Microsoft.VisualStudio.OLE.Interop.TYPEATTR structure.

  • pRefType
    Type: System.UInt32%

    On return, pointer to a handle for the implemented interface (if any). This handle can be passed to GetRefTypeInfo to get the type description.

Remarks

To get access to the Microsoft.VisualStudio.OLE.Interop.TYPEATTR library and documentation, you need to download the Visual Studio SDK from the Visual Studio Extensibility site.

Permissions

See Also

Reference

ITypeInfo Interface

ITypeInfo Members

Microsoft.VisualStudio.VsWizard Namespace