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

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

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

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

Parameters

pbc
Type: System.Runtime.InteropServices.ComTypes.IBindCtx

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

pmkToLeft
Type: System.Runtime.InteropServices.ComTypes.IMoniker

A reference to the moniker to the left of the current 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

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

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

Universal Windows Platform
Available since 8
.NET Framework
Available since 2.0
Portable Class Library
Supported in: portable .NET platforms
Windows Phone
Available since 8.1
Return to top
Show: