UCOMITypeComp.Bind Metodo

Definizione

Esegue il mapping di un nome a un membro di un tipo o associa le variabili e le funzioni globali presenti in una libreria dei tipi.

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)

Parametri

szName
String

Nome da associare.

lHashVal
Int32

Valore hash per szName calcolato da LHashValOfNameSys.

wFlags
Int16

Parola flag contenente uno o più flag di chiamata definiti nell'enumerazione INVOKEKIND.

ppTInfo
UCOMITypeInfo

In caso di esito positivo, contiene un riferimento alla descrizione di tipo contenente l'elemento a cui è associato, se è stato restituito FUNCDESC o VARDESC.

pDescKind
DESCKIND

Riferimento a un enumeratore DESCKIND che indica se il nome associato è VARDESC, FUNCDESC o TYPECOMP.

pBindPtr
BINDPTR

Riferimento all'interfaccia associata VARDESC, FUNCDESC o ITypeComp.

Commenti

Per altre informazioni, vedere la documentazione esistente per ITypeComp::Bind in MSDN Library.

Si applica a