Edit

Share via


UCOMIMoniker.BindToStorage(UCOMIBindCtx, UCOMIMoniker, Guid, Object) Method

Definition

Retrieves an interface pointer to the storage that contains the object identified by the moniker.

public:
 void BindToStorage(System::Runtime::InteropServices::UCOMIBindCtx ^ pbc, System::Runtime::InteropServices::UCOMIMoniker ^ pmkToLeft, Guid % riid, [Runtime::InteropServices::Out] System::Object ^ % ppvObj);
public void BindToStorage (System.Runtime.InteropServices.UCOMIBindCtx pbc, System.Runtime.InteropServices.UCOMIMoniker pmkToLeft, ref Guid riid, out object ppvObj);
abstract member BindToStorage : System.Runtime.InteropServices.UCOMIBindCtx * System.Runtime.InteropServices.UCOMIMoniker * Guid * obj -> unit
Public Sub BindToStorage (pbc As UCOMIBindCtx, pmkToLeft As UCOMIMoniker, ByRef riid As Guid, ByRef ppvObj As Object)

Parameters

pbc
UCOMIBindCtx

A reference to the IBindCtx interface on the bind context object used during this binding operation.

pmkToLeft
UCOMIMoniker

A reference to the moniker to the left of this moniker, if the moniker is part of a composite moniker.

riid
Guid

The interface identifier (IID) of the storage interface requested.

ppvObj
Object

On successful return, a reference to the interface requested by riid.

Remarks

For more information about IMoniker::BindToStorage, see the MSDN Library.

Applies to