AutomationElement.Inequality(AutomationElement, AutomationElement) Operator

Definicja

Zwraca wartość wskazującą, czy określone AutomationElement obiekty odwołują się do różnych elementów interfejsu użytkownika.

public:
 static bool operator !=(System::Windows::Automation::AutomationElement ^ left, System::Windows::Automation::AutomationElement ^ right);
public static bool operator != (System.Windows.Automation.AutomationElement left, System.Windows.Automation.AutomationElement right);
static member op_Inequality : System.Windows.Automation.AutomationElement * System.Windows.Automation.AutomationElement -> bool
Public Shared Operator != (left As AutomationElement, right As AutomationElement) As Boolean

Parametry

left
AutomationElement

Pierwszy AutomationElement do porównania.

right
AutomationElement

Drugi AutomationElement do porównania.

Zwraca

Boolean

true jeśli dwa obiekty odwołują się do różnych elementów interfejsu użytkownika; w przeciwnym razie false.

Dotyczy

Zobacz też