AutomationElement.Inequality Operator (AutomationElement, AutomationElement)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Returns a value indicating whether the specified AutomationElement objects refer to different user interface (UI) elements.

Namespace:   System.Windows.Automation
Assembly:  UIAutomationClient (in UIAutomationClient.dll)

public static bool operator !=(
	AutomationElement left,
	AutomationElement right
)

Parameters

left
Type: System.Windows.Automation.AutomationElement

The first AutomationElement to compare.

right
Type: System.Windows.Automation.AutomationElement

The second AutomationElement to compare.

Return Value

Type: System.Boolean

true if the two objects refer to different UI elements; otherwise false.

.NET Framework
Available since 3.0
Return to top
Show: