UCOMIMoniker.BindToObject Method (UCOMIBindCtx, UCOMIMoniker, Guid, Object)

 

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
)

Parameters

pbc
Type: System.Runtime.InteropServices.UCOMIBindCtx

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

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

riidResult
Type: System.Guid

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

ppvResult
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
Available since 1.1
Return to top
Show: