Freigeben über


ITypeInfo.GetRefTypeOfImplType(UInt32, UInt32) Method

Definition

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

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)

Parameters

index
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
UInt32

On return, pointer to a handle for the implemented interface (if any). This handle can be passed to GetRefTypeInfo(UInt32, Type) 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.

Applies to