IMoniker.ComposeWith(IMoniker, Boolean, IMoniker) Method

Definition

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

public:
 void ComposeWith(System::Runtime::InteropServices::ComTypes::IMoniker ^ pmkRight, bool fOnlyIfNotGeneric, [Runtime::InteropServices::Out] System::Runtime::InteropServices::ComTypes::IMoniker ^ % ppmkComposite);
public void ComposeWith (System.Runtime.InteropServices.ComTypes.IMoniker pmkRight, bool fOnlyIfNotGeneric, out System.Runtime.InteropServices.ComTypes.IMoniker ppmkComposite);
public void ComposeWith (System.Runtime.InteropServices.ComTypes.IMoniker pmkRight, bool fOnlyIfNotGeneric, out System.Runtime.InteropServices.ComTypes.IMoniker? ppmkComposite);
abstract member ComposeWith : System.Runtime.InteropServices.ComTypes.IMoniker * bool * IMoniker -> unit
Public Sub ComposeWith (pmkRight As IMoniker, fOnlyIfNotGeneric As Boolean, ByRef ppmkComposite As IMoniker)

Parameters

pmkRight
IMoniker

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

fOnlyIfNotGeneric
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
IMoniker

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

Remarks

For more information, see IMoniker::ComposeWith method.

Applies to