Click or drag to resize
Ranorex

RxPathExtractCommonPrefix Method

Extracts the longest common prefix from a list of RxPaths.

Namespace:  Ranorex.Core
Assembly:  Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntax
public static RxPath ExtractCommonPrefix(
	IList<RxPath> paths
)

Parameters

paths
Type: System.Collections.GenericIListRxPath
A list of paths to extract the prefix from.

Return Value

Type: RxPath
The longest common prefix of the specified paths.
Remarks
It is not allowed to mix relative and absolute paths in the list.
See Also