Click or drag to resize
Ranorex

Tree  Conversion (String to Tree)

Implicitly converts a string to an instance of this class by searching the root.

Namespace:  Ranorex
Assembly:  Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntax
public static implicit operator Tree (
	string path
)

Parameters

path
Type: SystemString
The search path.

Return Value

Type: Tree
The Tree.
Exceptions
ExceptionCondition
ArgumentNullExceptionIf path is null.
RxPathExceptionIf the specified path is not valid.
ElementNotFoundExceptionIf no element is found.
CapabilityNotSupportedExceptionIf the element does not support the capabilities required by this adapter.
Remarks
The DefaultSearchTimeout is used to search for the specified path.
See Also