HtmlDocument.Equality(HtmlDocument, HtmlDocument) 运算符

定义

返回一个值,该值指示指定的 HtmlDocument 实例是否表示同一个值。

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

参数

left
HtmlDocument

要比较的第一个实例。

right
HtmlDocument

要比较的第二个实例。

返回

Boolean

若指定实例相等,则为 true;否则为 false

注解

此运算符的等效方法为 HtmlDocument.Equals(Object)

适用于