This documentation is archived and is not being maintained.

UCOMIMoniker.BindToObject Method

Uses the moniker to bind to the object it identifies.

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

void BindToObject(
	UCOMIBindCtx pbc,
	UCOMIMoniker pmkToLeft,
	ref Guid riidResult,
	out Object ppvResult


Type: System.Runtime.InteropServices.UCOMIBindCtx
A reference to the IBindCtx interface on the bind context object used in 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 interface the client intends to use to communicate with the object that the moniker identifies.
Type: System.Object%
On successful return, reference to the interface requested by riidResult.

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

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0, 1.1, 1.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

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