Share via


XamlWindow.Find Method

Find the XamlWindow.

Namespace:  Microsoft.VisualStudio.TestTools.UITesting.WindowsRuntimeControls
Assembly:  Microsoft.VisualStudio.TestTools.WindowsStore.UITesting (in Microsoft.VisualStudio.TestTools.WindowsStore.UITesting.dll)

Syntax

'Declaration
Public Overrides Sub Find
public override void Find()
public:
virtual void Find() override
abstract Find : unit -> unit  
override Find : unit -> unit
public override function Find()

Exceptions

Exception Condition
UITestControlNotAvailableException

If the window is not available or invalid

UITestControlNotFoundException

If the window is not found with the given search properties

.NET Framework Security

See Also

Reference

XamlWindow Class

Microsoft.VisualStudio.TestTools.UITesting.WindowsRuntimeControls Namespace