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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.