Share via


UITechnologyElementProxy.GetClickablePoint Method

Gets a clickable point for this element. The framework will use this to obtain clickable point if UITechnologyElement.GetOption(UITechnologyElementOption.GetClickablePointFrom) returns GetClickablePointFromTechnologyManager. To use the default algorithm provided by the framework, throw NotSupportedException.

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

Syntax

'Declaration
Public Overrides Sub GetClickablePoint ( _
    <OutAttribute> ByRef pointX As Integer, _
    <OutAttribute> ByRef pointY As Integer _
)
public override void GetClickablePoint(
    out int pointX,
    out int pointY
)
public:
virtual void GetClickablePoint(
    [OutAttribute] int% pointX, 
    [OutAttribute] int% pointY
) override
abstract GetClickablePoint : 
        pointX:int byref * 
        pointY:int byref -> unit  
override GetClickablePoint : 
        pointX:int byref * 
        pointY:int byref -> unit
public override function GetClickablePoint(
    pointX : int, 
    pointY : int
)

Parameters

  • pointX
    Type: Int32%

    The x-coordinate of clickable point.

  • pointY
    Type: Int32%

    The y-coordinate of clickable point.

Implements

IUITechnologyElement.GetClickablePoint(Int32%, Int32%)

Exceptions

Exception Condition
NotSupportedException

Throws System.NotSupportedException if this operation is not supported.

.NET Framework Security

See Also

Reference

UITechnologyElementProxy Class

Microsoft.VisualStudio.TestTools.UITesting Namespace

GetClickablePointFrom