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

Definition

Uses the moniker to bind to the object it identifies.

C#
public void BindToObject(System.Runtime.InteropServices.UCOMIBindCtx pbc, System.Runtime.InteropServices.UCOMIMoniker pmkToLeft, ref Guid riidResult, out object ppvResult);

Parameters

pbc
UCOMIBindCtx

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

pmkToLeft
UCOMIMoniker

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

riidResult
Guid

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

ppvResult
Object

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

Remarks

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

Applies to

Product Versions
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1