RanorexRanorex Documentation
ExtractCommonPrefix Method (paths)
NamespacesRanorex.CoreRxPathExtractCommonPrefix(IList<(Of <(RxPath>)>))
Extracts the longest common prefix from a list of RxPaths.
Declaration Syntax
C#Visual BasicVisual C++
public static RxPath ExtractCommonPrefix(
	IList<RxPath> paths
)
Public Shared Function ExtractCommonPrefix ( _
	paths As IList(Of RxPath) _
) As RxPath
public:
static RxPath^ ExtractCommonPrefix(
	IList<RxPath^>^ paths
)
Parameters
paths (IList<(Of <(RxPath>)>))
A list of paths to extract the prefix from.
Return Value
The longest common prefix of the specified paths.
Remarks
It is not allowed to mix relative and absolute paths in the list.

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