編輯

共用方式為


HtmlElement.Inequality(HtmlElement, HtmlElement) Operator

Definition

Compares two HtmlElement objects for inequality.

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

Parameters

left
HtmlElement

The first HtmlElement.

right
HtmlElement

The second HtmlElement.

Returns

true is only one element is null, or the two objects are not equal; otherwise, false.

Remarks

The equivalent method for this operator is the negation of HtmlElement.Equals

Applies to