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,
	out IMoniker ppmkComposite


Type: System.Runtime.InteropServices.ComTypes.IMoniker

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

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.

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