Partager via


UITestControl.TryGetClickablePoint, méthode

Retourne un point interactif dans le UITestControl.Si le contrôle n'est pas interactif, cette méthode retourne false.

Espace de noms :  Microsoft.VisualStudio.TestTools.UITesting
Assembly :  Microsoft.VisualStudio.TestTools.UITesting (dans Microsoft.VisualStudio.TestTools.UITesting.dll)

Syntaxe

'Déclaration
Public Function TryGetClickablePoint ( _
    <OutAttribute> ByRef point As Point _
) As Boolean
public bool TryGetClickablePoint(
    out Point point
)
public:
bool TryGetClickablePoint(
    [OutAttribute] Point% point
)
member TryGetClickablePoint : 
        point:Point byref -> bool 
public function TryGetClickablePoint(
    point : Point
) : boolean

Paramètres

Valeur de retour

Type : System.Boolean
true si le contrôle est interactif ; sinon, false.

Sécurité .NET Framework

Voir aussi

Référence

UITestControl Classe

Microsoft.VisualStudio.TestTools.UITesting, espace de noms