Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IMoniker::BindToObject Method (IBindCtx^, IMoniker^, Guid%, Object^%)

 

Uses the moniker to bind to the object that it identifies.

Namespace:   System.Runtime.InteropServices.ComTypes
Assembly:  mscorlib (in mscorlib.dll)

void BindToObject(
	IBindCtx^ pbc,
	IMoniker^ pmkToLeft,
	[InAttribute] Guid% riidResult,
	[OutAttribute] Object^% ppvResult
)

Parameters

pbc
Type: System.Runtime.InteropServices.ComTypes::IBindCtx^

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

pmkToLeft
Type: System.Runtime.InteropServices.ComTypes::IMoniker^

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

riidResult
Type: System::Guid%

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

ppvResult
Type: System::Object^%

When this method returns, contains a reference to the interface requested by riidResult. This parameter is passed uninitialized.

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

Universal Windows Platform
Available since 8
.NET Framework
Available since 2.0
Portable Class Library
Supported in: portable .NET platforms
Windows Phone
Available since 8.1
Return to top
Show:
© 2017 Microsoft