RanorexRanorex Documentation
RemovePrefix Method (path, prefix, fastNoCheck)
NamespacesRanorex.CoreRxPathRemovePrefix(RxPath, RxPath, Boolean)
Removes a given prefix from a specific path. If the prefix is not a prefix of the specified path, the path is returned unmodified.
Declaration Syntax
C#Visual BasicVisual C++
public static RxPath RemovePrefix(
	RxPath path,
	RxPath prefix,
	bool fastNoCheck
)
Public Shared Function RemovePrefix ( _
	path As RxPath, _
	prefix As RxPath, _
	fastNoCheck As Boolean _
) As RxPath
public:
static RxPath^ RemovePrefix(
	RxPath^ path, 
	RxPath^ prefix, 
	bool fastNoCheck
)
Parameters
path (RxPath)
The path to remove the prefix from.
prefix (RxPath)
The prefix to remove.
fastNoCheck (Boolean)
Assumes that the supplied prefix is valid.
Return Value
The path without the prefix.
Exceptions
ExceptionCondition
RxPathExceptionIf prefix is not a prefix of the supplied path.

Assembly: Ranorex.Core (Module: Ranorex.Core) Version: 3.2.1.15734 (3.2.1.15734)