ערוך

שתף באמצעות


UCOMITypeComp.BindType(String, Int32, UCOMITypeInfo, UCOMITypeComp) Method

Definition

Binds to the type descriptions contained within a type library.

public:
 void BindType(System::String ^ szName, int lHashVal, [Runtime::InteropServices::Out] System::Runtime::InteropServices::UCOMITypeInfo ^ % ppTInfo, [Runtime::InteropServices::Out] System::Runtime::InteropServices::UCOMITypeComp ^ % ppTComp);
public void BindType (string szName, int lHashVal, out System.Runtime.InteropServices.UCOMITypeInfo ppTInfo, out System.Runtime.InteropServices.UCOMITypeComp ppTComp);
abstract member BindType : string * int * UCOMITypeInfo * UCOMITypeComp -> unit
Public Sub BindType (szName As String, lHashVal As Integer, ByRef ppTInfo As UCOMITypeInfo, ByRef ppTComp As UCOMITypeComp)

Parameters

szName
String

The name to bind.

lHashVal
Int32

A hash value for szName determined by LHashValOfNameSys.

ppTInfo
UCOMITypeInfo

On successful return, a reference to an ITypeInfo of the type to which szName was bound.

ppTComp
UCOMITypeComp

On successful return, a reference to an ITypeComp variable.

Remarks

For more information, please see the existing documentation for ITypeComp::BindType in the MSDN library.

Applies to