Επεξεργασία

Κοινή χρήση μέσω


UCOMIMoniker.ComposeWith(UCOMIMoniker, Boolean, UCOMIMoniker) Method

Definition

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

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

Parameters

pmkRight
UCOMIMoniker

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

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

ppmkComposite
UCOMIMoniker

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

Remarks

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

Applies to