Compartilhar via


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

'Declaration
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
)

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.

.NET Framework Security

See Also

Reference

ITypeInfo Interface

Microsoft.VisualStudio.VsWizard Namespace