HtmlElement.Equality(HtmlElement, HtmlElement) Operator

Definicja

Porównuje dwa elementy równości.

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 ( = ) : System.Windows.Forms.HtmlElement * System.Windows.Forms.HtmlElement -> bool
Public Shared Operator == (left As HtmlElement, right As HtmlElement) As Boolean

Parametry

left
HtmlElement

Pierwszy element HtmlElement.

right
HtmlElement

Drugi element HtmlElement.

Zwraca

true jeśli oba parametry to null, lub jeśli oba elementy mają ten sam podstawowy interfejs COM; w przeciwnym razie false.

Uwagi

Operator równości sprawdza IUnknown wskaźniki bazowych obiektów COM opakowanych przez podane HtmlElement klasy.

Równoważna metoda dla tego operatora to HtmlElement.Equals

Dotyczy