IMoniker.BindToStorage(IBindCtx, IMoniker, Guid, Object) 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.
Récupère un pointeur d’interface vers le stockage qui contient l’objet identifié par le moniker.
public:
void BindToStorage(System::Runtime::InteropServices::ComTypes::IBindCtx ^ pbc, System::Runtime::InteropServices::ComTypes::IMoniker ^ pmkToLeft, Guid % riid, [Runtime::InteropServices::Out] System::Object ^ % ppvObj);
public void BindToStorage(System.Runtime.InteropServices.ComTypes.IBindCtx pbc, System.Runtime.InteropServices.ComTypes.IMoniker pmkToLeft, ref Guid riid, out object ppvObj);
abstract member BindToStorage : System.Runtime.InteropServices.ComTypes.IBindCtx * System.Runtime.InteropServices.ComTypes.IMoniker * Guid * obj -> unit
Public Sub BindToStorage (pbc As IBindCtx, pmkToLeft As IMoniker, ByRef riid As Guid, ByRef ppvObj As Object)
Paramètres
- pbc
- IBindCtx
Référence à l’interface IBindCtx sur l’objet de contexte de liaison utilisé pendant cette opération de liaison.
- pmkToLeft
- IMoniker
Référence au moniker à gauche du moniker actuel, si le moniker fait partie d’un moniker composite.
- riid
- Guid
Identificateur d’interface (IID) de l’interface de stockage demandée.
- ppvObj
- Object
Lorsque cette méthode est retournée, contient une référence à l’interface demandée par riid. Ce paramètre est passé non initialisé.
Remarques
Pour plus d’informations, consultez la méthode IMoniker ::BindToStorage.