SilverlightTestPlugin.GetElementFromPoint 方法
這個 API 支援 .NET Framework 基礎結構,但您不可以直接在程式碼中使用它。
這個成員會覆寫 UITechnologyManager.GetElementFromPoint(Int32, Int32)。
命名空間: Microsoft.VisualStudio.TestTools.UITest.Extension.Silverlight
組件: Microsoft.VisualStudio.TestTools.UITest.Extension.Silverlight (在 Microsoft.VisualStudio.TestTools.UITest.Extension.Silverlight.dll 中)
語法
'宣告
Public Overrides Function GetElementFromPoint ( _
pointX As Integer, _
pointY As Integer _
) As IUITechnologyElement
public override IUITechnologyElement GetElementFromPoint(
int pointX,
int pointY
)
public:
virtual IUITechnologyElement^ GetElementFromPoint(
int pointX,
int pointY
) override
abstract GetElementFromPoint :
pointX:int *
pointY:int -> IUITechnologyElement
override GetElementFromPoint :
pointX:int *
pointY:int -> IUITechnologyElement
public override function GetElementFromPoint(
pointX : int,
pointY : int
) : IUITechnologyElement
參數
- pointX
型別:System.Int32
- pointY
型別:System.Int32
傳回值
型別:Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElement
傳回 IUITechnologyElement。
實作
IUITechnologyManager.GetElementFromPoint(Int32, Int32)
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。
請參閱
參考
Microsoft.VisualStudio.TestTools.UITest.Extension.Silverlight 命名空間