UCOMIMoniker.BindToObject(UCOMIBindCtx, UCOMIMoniker, Guid, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈