Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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,
	[OutAttribute] ITypeInfo^% ppTInfo,
	[OutAttribute] 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:
© 2017 Microsoft