Rediger

Del via


IMoniker.RelativePathTo(IMoniker, IMoniker) Method

Definition

Supplies a moniker that, when appended to the current moniker (or one with a similar structure), yields the specified 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)

Parameters

pmkOther
IMoniker

A reference to the moniker to which a relative path should be taken.

ppmkRelPath
IMoniker

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

Remarks

For more information, see IMoniker::RelativePathTo method.

Applies to