Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

UCOMIMoniker.BindToStorage Method

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,
	ref Guid riid,
	out Object ppvObj


Type: System.Runtime.InteropServices.UCOMIBindCtx

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

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.

Type: System.Guid

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

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
© 2015 Microsoft