Click or drag to resize
Ranorex

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
Syntax
public static RxPath RemovePrefix(
	RxPath path,
	RxPath prefix,
	bool fastNoCheck
)

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: RxPath
The path without the prefix.
Exceptions
ExceptionCondition
RxPathExceptionIf prefix is not a prefix of the supplied path.
See Also