संपादित करें

इसके माध्यम से साझा किया गया


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

Definition

Uses the moniker to bind to the object it identifies.

public:
 void BindToObject(System::Runtime::InteropServices::UCOMIBindCtx ^ pbc, System::Runtime::InteropServices::UCOMIMoniker ^ pmkToLeft, Guid % riidResult, [Runtime::InteropServices::Out] System::Object ^ % ppvResult);
public void BindToObject (System.Runtime.InteropServices.UCOMIBindCtx pbc, System.Runtime.InteropServices.UCOMIMoniker pmkToLeft, ref Guid riidResult, out object ppvResult);
abstract member BindToObject : System.Runtime.InteropServices.UCOMIBindCtx * System.Runtime.InteropServices.UCOMIMoniker * Guid * obj -> unit
Public Sub BindToObject (pbc As UCOMIBindCtx, pmkToLeft As UCOMIMoniker, ByRef riidResult As Guid, ByRef ppvResult As Object)

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