NDoc 1.3.1 SDK

Project.GetRelativePath Method 

Gets the relative path of the passed path with respect to the BaseDirectory of the Project.

[Visual Basic]
Public Function GetRelativePath( _ 
   ByVal path As String _ 
) As String
[C#]
public string GetRelativePath(
   string path
);
[C++]
public: String* GetRelativePath(
   String* path
);
[JScript]
public function GetRelativePath(
   String path
): String;

Parameters

path
The relative or absolute path.

Return Value

A relative path.

See Also

Project Class | NDoc.Core Namespace