UCOMITypeComp.Bind Método

Definición

Asigna un nombre a un miembro de un tipo o enlaza variables y funciones globales de una biblioteca de tipos.

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

Nombre que se va a enlazar.

lHashVal
Int32

Valor hash para szName calculado por LHashValOfNameSys.

wFlags
Int16

Palabra de marcadores que contiene uno o varios de los marcadores de llamada definidos en la enumeración INVOKEKIND.

ppTInfo
UCOMITypeInfo

Si la devolución es correcta, se obtiene una referencia a la descripción del tipo que contiene el elemento al que está enlazado, si se devuelve FUNCDESC o VARDESC.

pDescKind
DESCKIND

Referencia a un enumerador DESCKIND que indica si el nombre enlazado es VARDESC, FUNCDESC o TYPECOMP.

pBindPtr
BINDPTR

Referencia al enlace a una interfaz VARDESC, FUNCDESC o ITypeComp.

Comentarios

Para obtener más información, consulte la documentación existente de ITypeComp::Bind en MSDN Library.

Se aplica a