ITypeComp.BindType(String, Int32, ITypeInfo, ITypeComp) ITypeComp.BindType(String, Int32, ITypeInfo, ITypeComp) ITypeComp.BindType(String, Int32, ITypeInfo, ITypeComp) 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 *  *  -> unit
Public Sub BindType (szName As String, lHashVal As Integer, ByRef ppTInfo As ITypeInfo, ByRef ppTComp As ITypeComp)

Parameters

szName
String String String String

The name to bind.

lHashVal
Int32 Int32 Int32 Int32

A hash value for szName determined by LHashValOfNameSys.

ppTInfo
ITypeInfo ITypeInfo ITypeInfo 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 ITypeComp ITypeComp ITypeComp

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

Remarks

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

Applies to