ITypeComp::Bind Method (String^, Int32, Int16, ITypeInfo^%, DESCKIND%, BINDPTR%)
Maps a name to a member of a type, or binds global variables and functions contained in a type library.
Assembly: mscorlib (in mscorlib.dll)
void Bind( String^ szName, int lHashVal, short wFlags, [OutAttribute] ITypeInfo^% ppTInfo, [OutAttribute] DESCKIND% pDescKind, [OutAttribute] BINDPTR% pBindPtr )
Parameters
- szName
-
Type:
System::String^
The name to bind.
- lHashVal
-
Type:
System::Int32
A hash value for szName computed by LHashValOfNameSys.
- wFlags
-
Type:
System::Int16
A flags word containing one or more of the invoke flags defined in the INVOKEKIND enumeration.
- ppTInfo
-
Type:
System.Runtime.InteropServices.ComTypes::ITypeInfo^%
When this method returns, contains a reference to the type description that contains the item to which it is bound, if a FUNCDESC or VARDESC was returned. This parameter is passed uninitialized.
- pDescKind
-
Type:
System.Runtime.InteropServices.ComTypes::DESCKIND%
When this method returns, contains a reference to a DESCKIND enumerator that indicates whether the name bound-to is a VARDESC, FUNCDESC, or TYPECOMP. This parameter is passed uninitialized.
- pBindPtr
-
Type:
System.Runtime.InteropServices.ComTypes::BINDPTR%
When this method returns, contains a reference to the bound-to VARDESC, FUNCDESC, or ITypeComp interface. This parameter is passed uninitialized.
For more information, see the existing documentation for ITypeComp::Bind in the MSDN library.
Available since 8
.NET Framework
Available since 2.0
Portable Class Library
Supported in: portable .NET platforms
Windows Phone
Available since 8.1