NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Rectangle.Contains (Rectangle)

Determines if rect is entirely contained within this rectangle.

[Visual Basic]
Overloads Public Function Contains( _
   ByVal rect As Rectangle _
) As Boolean
[C#]
public bool Contains(
   Rectangle rect
);
[C++]
public: bool Contains(
   Rectangle rect
);
[JScript]
public function Contains(
   rect : Rectangle
) : Boolean;

Parameters

rect
Rectangle to test

Return Value

true if the rectangle is contained.

See Also

Rectangle Structure | Rectangle Members | System.Drawing Namespace | Rectangle.Contains Overload List