RanorexRanorex Documentation
Implicit Operator
NamespacesRanorex.CoreElementImplicit(String)
Implicitly converts a string to an element instance by searching the root.
Declaration Syntax
C#Visual BasicVisual C++
public static implicit operator Element (
	string path
)
Public Shared Widening Operator CType ( _
	path As String _
) As Element
static implicit operator Element^ (
	String^ path
)
Parameters
path (String)
The search path.
Return Value
The result element.
Remarks
The DefaultSearchTimeout is used to search for the specified path.
Exceptions
ExceptionCondition
ArgumentNullExceptionIf path is null.
ElementNotFoundExceptionIf no element is found.
RxPathExceptionIf the specified path is not valid.

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