UITestControlFactory.FromPoint Method
Returns a new UITestControl at the specified co-ordinates.
Namespace: Microsoft.VisualStudio.TestTools.UITesting
Assembly: Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
Syntax
'Declaration
Public Shared Function FromPoint ( _
absoluteCoordinates As Point _
) As UITestControl
public static UITestControl FromPoint(
Point absoluteCoordinates
)
public:
static UITestControl^ FromPoint(
Point absoluteCoordinates
)
static member FromPoint :
absoluteCoordinates:Point -> UITestControl
public static function FromPoint(
absoluteCoordinates : Point
) : UITestControl
Parameters
absoluteCoordinates
Type: PointThe coordinates to use to create a new UITestControl.
Return Value
Type: Microsoft.VisualStudio.TestTools.UITesting.UITestControl
A new UITestControl at the specified co-ordinates
.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.