Rectangle.Intersect, méthode (Rectangle, Rectangle)

Crée un rectangle qui représente l'intersetion entre a et B. S'il n'y a pas d'intersection, Null est retourné.

Espace de noms :  Microsoft.VisualStudio.TestTools.UITest.Input
Assembly :  Microsoft.VisualStudio.TestTools.UITest.Extension (dans Microsoft.VisualStudio.TestTools.UITest.Extension.dll)

Syntaxe

'Déclaration
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

Paramètres

Valeur de retour

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

Sécurité .NET Framework

Voir aussi

Référence

Rectangle Structure

Intersect, surcharge

Microsoft.VisualStudio.TestTools.UITest.Input, espace de noms