Rectangle.Intersect Method (Rectangle, Rectangle)
Creates a rectangle that represents the intersetion between a and b. If there is no intersection, null is returned.
Namespace: Microsoft.VisualStudio.TestTools.UITest.Input
Assembly: Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)
Syntax
'Declaration
Public Shared Function Intersect ( _
a As Rectangle, _
b As Rectangle _
) As Rectangle
public static Rectangle Intersect(
Rectangle a,
Rectangle b
)
public:
static Rectangle Intersect(
Rectangle a,
Rectangle b
)
static member Intersect :
a:Rectangle *
b:Rectangle -> Rectangle
public static function Intersect(
a : Rectangle,
b : Rectangle
) : Rectangle
Parameters
Return Value
Type: Microsoft.VisualStudio.TestTools.UITest.Input.Rectangle
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.