'Declaration
Public Overloads Shared Function ConvertToWindows( _
ByVal As String, _
ByVal As String, _
ByVal As String _
) As String
'Usage
Dim unixPath As String
Dim unixRoot As String
Dim windowsRoot As String
Dim value As String
value = UnixPath.ConvertToWindows(unixPath, unixRoot, windowsRoot)
public static string ConvertToWindows(
string ,
string ,
string
)
public: static string* ConvertToWindows(
string* ,
string* ,
string*
)
public:
static String^ ConvertToWindows(
String^ ,
String^ ,
String^
)
Parameters
- unixPath
- A relative or absolute Unix path.
- unixRoot
- The root to remove from the beginning of unixPath.
- windowsRoot
- The root to prepend to the Windows path.
Return Value
A sanitized Windows path equivalent to unixPath under windowsRoot.