IUITestService.GetFocusedElement Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Namespace:  Microsoft.VisualStudio.TestTools.UITest.Extension
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)

Syntax

'Declaration
Function GetFocusedElement As IAfxElement
'Usage
Dim instance As IUITestService
Dim returnValue As IAfxElement

returnValue = instance.GetFocusedElement()
IAfxElement GetFocusedElement()
IAfxElement^ GetFocusedElement()
function GetFocusedElement() : IAfxElement
abstract GetFocusedElement : unit -> IAfxElement 

Return Value

Type: Microsoft.VisualStudio.TestTools.UITest.Extension.IAfxElement

.NET Framework Security

See Also

Reference

IUITestService Interface

IUITestService Members

Microsoft.VisualStudio.TestTools.UITest.Extension Namespace