Okapi .NET Library

Routines.ReplaceRoot Method 

 [This is preliminary documentation and subject to change.]

Replaces the given root of a path by another root.

[Visual Basic]
Shared Public Function ReplaceRoot( _ 
   ByVal p_sPath As String, _ 
   ByVal p_sOldRoot As String, _ 
   ByVal p_sNewRoot As String _ 
) As String
[C#]
public static string ReplaceRoot(
   string p_sPath,
   string p_sOldRoot,
   string p_sNewRoot
);
[C++]
public: static String* ReplaceRoot(
   String* p_sPath,
   String* p_sOldRoot,
   String* p_sNewRoot
);
[JScript]
public static function ReplaceRoot(
   String p_sPath,
   String p_sOldRoot,
   String p_sNewRoot
): String;

Parameters

p_sPath
Path to modify.
p_sOldRoot
Root to replace.
p_sNewRoot
New root.

Return Value

See Also

Routines Class | Okapi.Library.Base Namespace