UITestControlFactory.FromPoint 方法

返回位于指定坐标位置的新 UITestControl

命名空间:  Microsoft.VisualStudio.TestTools.UITesting
程序集:  Microsoft.VisualStudio.TestTools.UITesting(在 Microsoft.VisualStudio.TestTools.UITesting.dll 中)

语法

声明
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

参数

返回值

类型:Microsoft.VisualStudio.TestTools.UITesting.UITestControl
位于指定坐标位置的新 UITestControl

.NET Framework 安全性

请参见

参考

UITestControlFactory 类

Microsoft.VisualStudio.TestTools.UITesting 命名空间