HtmlElement.Equality(HtmlElement, HtmlElement) Operator
Definicja
Ważny
Niektóre informacje dotyczą produktów przedpremierowych, które mogą zostać znacznie zmodyfikowane przed premierą. Microsoft nie udziela żadnych gwarancji, ani wyraźnych, ani domniemanych, dotyczących informacji podanych tutaj.
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