Contains Method (Extensions)
In This Topic
Determines if the one rectangular region is entirely contained within another structure.
Syntax
'Declaration
Public Shared Function Contains( _
ByVal As Rect, _
ByVal As Rect _
) As Boolean
public static bool Contains(
Rect ,
Rect
)
Parameters
- r
- One rectangle to test.
- rect
- Another rectangle.
Return Value
This method returns true if the rectangular region represented by is entirely contained within structure; otherwise false.
See Also