UCOMITypeComp.Bind Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Mappe un nom à un membre d’un type ou lie des variables globales et des fonctions contenues dans une bibliothèque de types.
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)
Paramètres
- szName
- String
Nom à lier.
- lHashVal
- Int32
Valeur de hachage pour szName calculée par LHashValOfNameSys.
- wFlags
- Int16
Mot d’indicateur contenant un ou plusieurs indicateurs d’appel définis dans l’énumération INVOKEKIND .
- ppTInfo
- UCOMITypeInfo
Lors d’un retour réussi, référence à la description de type qui contient l’élément auquel il est lié, s’il FUNCDESC a été retourné ou VARDESC retourné.
- pDescKind
- DESCKIND
Référence à un DESCKIND énumérateur qui indique si le nom lié est un VARDESC, FUNCDESCou TYPECOMP.
- pBindPtr
- BINDPTR
Référence à l’interface ou VARDESCFUNCDESC à la liaisonITypeComp.
Remarques
Pour plus d’informations, consultez la documentation existante de ITypeComp::Bind la bibliothèque MSDN.