UCOMITypeComp.Bind(String, Int32, Int16, UCOMITypeInfo, DESCKIND, BINDPTR) Método
Definição
Mapeia um nome de um membro de um tipo ou associa variáveis globais e funções contidas em uma biblioteca de tipos.Maps a name to a member of a type, or binds global variables and functions contained in a type library.
public:
void Bind(System::String ^ szName, int lHashVal, short wFlags, [Runtime::InteropServices::Out] System::Runtime::InteropServices::UCOMITypeInfo ^ % ppTInfo, [Runtime::InteropServices::Out] System::Runtime::InteropServices::DESCKIND % pDescKind, [Runtime::InteropServices::Out] System::Runtime::InteropServices::BINDPTR % pBindPtr);
public void Bind (string szName, int lHashVal, short wFlags, out System.Runtime.InteropServices.UCOMITypeInfo ppTInfo, out System.Runtime.InteropServices.DESCKIND pDescKind, out System.Runtime.InteropServices.BINDPTR pBindPtr);
abstract member Bind : string * int * int16 * UCOMITypeInfo * DESCKIND * BINDPTR -> unit
Public Sub Bind (szName As String, lHashVal As Integer, wFlags As Short, ByRef ppTInfo As UCOMITypeInfo, ByRef pDescKind As DESCKIND, ByRef pBindPtr As BINDPTR)
Parâmetros
- szName
- String
O nome a ser associado.The name to bind.
- lHashVal
- Int32
Um valor de hash para szName computado por LHashValOfNameSys.A hash value for szName computed by LHashValOfNameSys.
- wFlags
- Int16
Uma palavra de sinalizadores que contém um ou mais dos sinalizadores de invocação definidos na enumeração INVOKEKIND.A flags word containing one or more of the invoke flags defined in the INVOKEKIND enumeration.
- ppTInfo
- UCOMITypeInfo
No retorno bem-sucedido, uma referência à descrição de tipo que contém o item ao qual ele está associado, se um FUNCDESC ou VARDESC foi retornado.On successful return, a reference to the type description that contains the item to which it is bound, if a FUNCDESC or VARDESC was returned.
- pDescKind
- DESCKIND
Uma referência a um enumerador DESCKIND que indica se o nome associado é um VARDESC, FUNCDESC ou TYPECOMP.A reference to a DESCKIND enumerator that indicates whether the name bound to is a VARDESC, FUNCDESC, or TYPECOMP.
- pBindPtr
- BINDPTR
Uma referência à interface associada VARDESC, FUNCDESC ou ITypeComp.A reference to the bound-to VARDESC, FUNCDESC, or ITypeComp interface.
Comentários
Para obter mais informações, consulte a documentação existente para ITypeComp::Bind na biblioteca MSDN.For more information, please see the existing documentation for ITypeComp::Bind in the MSDN library.