Click or drag to resize
Ranorex

ToggleButton  Conversion (String to ToggleButton)

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

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

Parameters

path
Type: SystemString
The search path.

Return Value

Type: ToggleButton
The ToggleButton.
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