| PathGetRelativePath Method |
Creates a relative file path.
Namespace: DigitalRune.StoragesAssembly: DigitalRune (in DigitalRune.dll) Version: 1.20.0.0 (1.20.1.14552)
Syntax public static string GetRelativePath(
string rootFolder,
string file
)
Public Shared Function GetRelativePath (
rootFolder As String,
file As String
) As String
public:
static String^ GetRelativePath(
String^ rootFolder,
String^ file
)
static member GetRelativePath :
rootFolder : string *
file : string -> string
Parameters
- rootFolder
- Type: SystemString
The root folder. Must be an absolute (rooted) file path. - file
- Type: SystemString
The file path.
Return Value
Type:
String
A path to
file which is relative to
rootFolder.
See Also