This topic has not yet been rated - Rate this topic

IMoniker.BindToStorage Method

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,
	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.

.NET Framework

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

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Portable Class Library

Supported in: Portable Class Library

.NET for Windows Store apps

Supported in: Windows 8

Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.