HtmlElement.Equality(HtmlElement, HtmlElement) Operatör

Tanım

Eşitlik için iki öğeyi karşılaştırır.

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

Parametreler

right
HtmlElement

İkinci HtmlElement.

Döndürülenler

true her iki parametre nullde ise veya her iki öğe de aynı temel COM arabirimine sahipse; değilse, false.

Açıklamalar

Eşitlik işleci IUnknown , sağlanan HtmlElement sınıflar tarafından sarmalanan temel COM nesnelerinin işaretçilerini test eder.

Bu işlecin eşdeğer yöntemi şudur: HtmlElement.Equals

Şunlara uygulanır