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::ComposeWith Method (IMoniker^, Boolean, IMoniker^%)

 

Combines the current moniker with another moniker, creating a new composite moniker.

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

void ComposeWith(
	IMoniker^ pmkRight,
	bool fOnlyIfNotGeneric,
	[OutAttribute] IMoniker^% ppmkComposite
)

Parameters

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

A reference to the IMoniker interface on a moniker to append to the end of the current moniker.

fOnlyIfNotGeneric
Type: System::Boolean

true to indicate that the caller requires a nongeneric composition. The operation proceeds only if pmkRight is a moniker class that the current moniker can combine with in some way other than forming a generic composite. false to indicate that the method can create a generic composite if necessary.

ppmkComposite
Type: System.Runtime.InteropServices.ComTypes::IMoniker^%

When this method returns, contains a reference to the resulting composite moniker. This parameter is passed uninitialized.

For more information about IMoniker::ComposeWith, 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