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