Click or drag to resize
Ranorex

NativeWindow  Conversion (String to NativeWindow)

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

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

Parameters

path
Type: SystemString
The search path.

Return Value

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