Share via


Rectangle.Contains Method

Include Protected Members
Include Inherited Members

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method Contains(Point) Determines if the specfied point is contained within the rectangular region defined by this instance.
Public method Contains(Rectangle) Determines if the rectangular region is entirely contained within the rectangular region represented by this instance.
Public method Contains(Int32, Int32) Determines if the specfied point is contained within the rectangular region defined by this instance.

Top

See Also

Reference

Rectangle Structure

Microsoft.VisualStudio.TestTools.UITest.Input Namespace