ITypeComp.BindType Method (String, Int32, ITypeInfo, ITypeComp)

 

Binds to the type descriptions contained within a type library.

Namespace:   System.Runtime.InteropServices.ComTypes
Assembly:  mscorlib (in mscorlib.dll)

void BindType(
	string szName,
	int lHashVal,
	out ITypeInfo ppTInfo,
	out ITypeComp ppTComp
)

Parameters

szName
Type: System.String

The name to bind.

lHashVal
Type: System.Int32

A hash value for szName determined by LHashValOfNameSys.

ppTInfo
Type: System.Runtime.InteropServices.ComTypes.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
Type: System.Runtime.InteropServices.ComTypes.ITypeComp

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

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

Universal Windows Platform
Available since 8
.NET Framework
Available since 2.0
Portable Class Library
Supported in: portable .NET platforms
Windows Phone
Available since 8.1
Return to top
Show: