IWorkspace.MakeRelative(String) Method

Definition

Converts an absolute path to a path relative to the root of this workspace.

public:
 System::String ^ MakeRelative(System::String ^ path);
public:
 Platform::String ^ MakeRelative(Platform::String ^ path);
std::wstring MakeRelative(std::wstring const & path);
public string MakeRelative (string path);
abstract member MakeRelative : string -> string
Public Function MakeRelative (path As String) As String

Parameters

path
String

The path to make relative.

Returns

A relative path.

Applies to