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,
	[InAttribute] ref Guid riidResult,
	out Object ppvResult
void BindToObject (
	UCOMIBindCtx pbc, 
	UCOMIMoniker pmkToLeft, 
	/** @attribute InAttribute() */ /** @ref */ Guid riidResult, 
	/** @attribute OutAttribute() */ /** @ref */ Object ppvResult
JScript does not support passing value-type arguments by reference.



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


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


The interface identifier (IID) of the interface the client intends to use to communicate with the object that the moniker identifies.


On successful return, reference to the interface requested by riidResult.

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

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

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

.NET Framework

Supported in: 2.0, 1.1, 1.0