 | RxPathRemovePrefix Method |
Removes a given prefix from a specific path.
Namespace:
Ranorex.Core
Assembly:
Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntaxpublic static RxPath RemovePrefix(
RxPath path,
RxPath prefix,
bool fastNoCheck
)
Public Shared Function RemovePrefix (
path As RxPath,
prefix As RxPath,
fastNoCheck As Boolean
) As RxPath
Parameters
- path
- Type: Ranorex.CoreRxPath
The path to remove the prefix from. - prefix
- Type: Ranorex.CoreRxPath
The prefix to remove. - fastNoCheck
- Type: SystemBoolean
Assumes that the supplied prefix is valid.
Return Value
Type:
RxPathThe path without the prefix.
Exceptions| Exception | Condition |
|---|
| RxPathException | If prefix is not a prefix of the supplied path. |
See Also