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

 

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

Namespace:   System.Runtime.InteropServices
Assembly:  mscorlib (in mscorlib.dll)

void BindToStorage(
	UCOMIBindCtx pbc,
	UCOMIMoniker pmkToLeft,
	[InAttribute] ref Guid riid,
	out object ppvObj
)

Parameters

pbc
Type: System.Runtime.InteropServices.UCOMIBindCtx

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

pmkToLeft
Type: System.Runtime.InteropServices.UCOMIMoniker

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

riid
Type: System.Guid

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

ppvObj
Type: System.Object

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

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

.NET Framework
Available since 1.1
Return to top
Show: