SilverlightElement.GetBoundingRectangle 方法
此 API 支持 .NET Framework 基础结构,不适合在代码中直接使用。
此成员重写 UITechnologyElement.GetBoundingRectangle(Int32%, Int32%, Int32%, Int32%)。
命名空间: Microsoft.VisualStudio.TestTools.UITest.Extension.Silverlight
程序集: Microsoft.VisualStudio.TestTools.UITest.Extension.Silverlight(在 Microsoft.VisualStudio.TestTools.UITest.Extension.Silverlight.dll 中)
语法
声明
Public Overrides Sub GetBoundingRectangle ( _
<OutAttribute> ByRef left As Integer, _
<OutAttribute> ByRef top As Integer, _
<OutAttribute> ByRef width As Integer, _
<OutAttribute> ByRef height As Integer _
)
public override void GetBoundingRectangle(
out int left,
out int top,
out int width,
out int height
)
public:
virtual void GetBoundingRectangle(
[OutAttribute] int% left,
[OutAttribute] int% top,
[OutAttribute] int% width,
[OutAttribute] int% height
) override
abstract GetBoundingRectangle :
left:int byref *
top:int byref *
width:int byref *
height:int byref -> unit
override GetBoundingRectangle :
left:int byref *
top:int byref *
width:int byref *
height:int byref -> unit
public override function GetBoundingRectangle(
left : int,
top : int,
width : int,
height : int
)
参数
- left
类型:System.Int32%
- top
类型:System.Int32%
- width
类型:System.Int32%
- height
类型:System.Int32%
实现
IUITechnologyElement.GetBoundingRectangle(Int32%, Int32%, Int32%, Int32%)
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。
请参见
参考
Microsoft.VisualStudio.TestTools.UITest.Extension.Silverlight 命名空间