HtmlElement.Inequality(HtmlElement, HtmlElement) 运算符

定义

比较两个 HtmlElement 对象是否相等。

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

参数

left
HtmlElement

第一个 HtmlElement

right
HtmlElement

第二个 HtmlElement

返回

Boolean

如果仅有一个元素为 null,或是两个对象不相等,则为 true;否则为 false

注解

此运算符的等效方法是否定 HtmlElement.Equals

适用于