IMoniker.RelativePathTo(IMoniker, IMoniker) 方法

定義

附加到目前 Moniker (或類似結構) 時,提供可產生指定 Moniker 的 Moniker。

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

參數

pmkOther
IMoniker

應該採用相對路徑的 Moniker 的參考。

ppmkRelPath
IMoniker

這個方法傳回時,包含相關 Moniker 的參考。 這個參數會以未初始化的狀態傳遞。

備註

如需詳細資訊,請參閱 IMoniker::RelativePathTo 方法

適用於