Bewerken

Delen via


ITypeComp.BindType(String, Int32, ITypeInfo, ITypeComp) 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::ComTypes::ITypeInfo ^ % ppTInfo, [Runtime::InteropServices::Out] System::Runtime::InteropServices::ComTypes::ITypeComp ^ % ppTComp);
public void BindType (string szName, int lHashVal, out System.Runtime.InteropServices.ComTypes.ITypeInfo ppTInfo, out System.Runtime.InteropServices.ComTypes.ITypeComp ppTComp);
abstract member BindType : string * int * ITypeInfo * ITypeComp -> unit
Public Sub BindType (szName As String, lHashVal As Integer, ByRef ppTInfo As ITypeInfo, ByRef ppTComp As ITypeComp)

Parameters

szName
String

The name to bind.

lHashVal
Int32

A hash value for szName determined by LHashValOfNameSys.

ppTInfo
ITypeInfo

When this method returns, contains a reference to an ITypeInfo of the type to which szName was bound. This parameter is passed uninitialized.

ppTComp
ITypeComp

When this method returns, contains a reference to an ITypeComp variable. This parameter is passed uninitialized.

Remarks

For more information, see ITypeComp::BindType method.

Applies to