แก้ไข

แชร์ผ่าน


IMoniker.CommonPrefixWith(IMoniker, IMoniker) Method

Definition

Creates a new moniker based on the common prefix that this moniker shares with another moniker.

public:
 void CommonPrefixWith(System::Runtime::InteropServices::ComTypes::IMoniker ^ pmkOther, [Runtime::InteropServices::Out] System::Runtime::InteropServices::ComTypes::IMoniker ^ % ppmkPrefix);
public void CommonPrefixWith (System.Runtime.InteropServices.ComTypes.IMoniker pmkOther, out System.Runtime.InteropServices.ComTypes.IMoniker ppmkPrefix);
public void CommonPrefixWith (System.Runtime.InteropServices.ComTypes.IMoniker pmkOther, out System.Runtime.InteropServices.ComTypes.IMoniker? ppmkPrefix);
abstract member CommonPrefixWith : System.Runtime.InteropServices.ComTypes.IMoniker * IMoniker -> unit
Public Sub CommonPrefixWith (pmkOther As IMoniker, ByRef ppmkPrefix As IMoniker)

Parameters

pmkOther
IMoniker

A reference to the IMoniker interface on another moniker to compare with the current moniker for a common prefix.

ppmkPrefix
IMoniker

When this method returns, contains the moniker that is the common prefix of the current moniker and pmkOther. This parameter is passed uninitialized.

Remarks

For more information, see IMoniker::CommonPrefixWith method.

Applies to