IMoniker.BindToStorage(IBindCtx, IMoniker, 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::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)

Parameters

pbc
IBindCtx

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

pmkToLeft
IMoniker

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

riid
Guid

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

ppvObj
Object

When this method returns, contains a reference to the interface requested by riid. This parameter is passed uninitialized.

Remarks

For more information, see IMoniker::BindToStorage method.

Applies to