Share via


IMoniker.BindToStorage(IBindCtx, IMoniker, Guid, Object) Metodo

Definizione

Recupera un puntatore di interfaccia all'archiviazione che contiene l'oggetto identificato dal 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);
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)

Parametri

pbc
IBindCtx

Riferimento all'interfaccia IBindCtx sull'oggetto del contesto di associazione utilizzato in questa operazione di associazione.

pmkToLeft
IMoniker

Riferimento al moniker alla sinistra del moniker corrente, se fa parte di un moniker composto.

riid
Guid

Identificatore di interfaccia (IID) dell'interfaccia di memoria richiesta.

ppvObj
Object

Quando termina, questo metodo contiene un riferimento all'interfaccia richiesta da riid. Questo parametro viene passato non inizializzato.

Commenti

Per altre informazioni, vedere Metodo IMoniker::BindToStorage.

Si applica a