UCOMIMoniker.ComposeWith Method (UCOMIMoniker, Boolean, UCOMIMoniker)


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

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

void ComposeWith(
	UCOMIMoniker pmkRight,
	bool fOnlyIfNotGeneric,
	out UCOMIMoniker ppmkComposite


Type: System.Runtime.InteropServices.UCOMIMoniker

A reference to the IMoniker interface on the moniker to compose onto the end of this moniker.

Type: System.Boolean

If true, the caller requires a nongeneric composition, so the operation proceeds only if pmkRight is a moniker class that this moniker can compose with in some way other than forming a generic composite. If false, the method can create a generic composite if necessary.

Type: System.Runtime.InteropServices.UCOMIMoniker

On successful return, a reference to the resulting composite moniker.

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

.NET Framework
Available since 1.1
Return to top