Freigeben über


Rectangle.Intersect-Methode (Rectangle, Rectangle)

Erstellt ein Rechteck, das die Schnittmenge zwischen a und b. darstellt. Wenn keine Schnittmenge vorhanden ist, wird NULL zurückgegeben.

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

Parameter

Rückgabewert

Typ: Microsoft.VisualStudio.TestTools.UITest.Input.Rectangle

.NET Framework-Sicherheit

Siehe auch

Referenz

Rectangle Struktur

Intersect-Überladung

Microsoft.VisualStudio.TestTools.UITest.Input-Namespace