确定 specfied 的点是否在的此实例定义的矩形区域中。
命名空间: Microsoft.VisualStudio.TestTools.UITest.Input
程序集: Microsoft.VisualStudio.TestTools.UITest.Extension(在 Microsoft.VisualStudio.TestTools.UITest.Extension.dll 中)
语法
声明
Public Function Contains ( _
x As Integer, _
y As Integer _
) As Boolean
public bool Contains(
int x,
int y
)
public:
bool Contains(
int x,
int y
)
member Contains :
x:int *
y:int -> bool
public function Contains(
x : int,
y : int
) : boolean
参数
- x
类型:Int32
- y
类型:Int32
返回值
类型:Boolean
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。