HtmlElement.Equality(HtmlElement, HtmlElement) Operador

Definição

Compara dois elementos quanto à igualdade.

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

Parâmetros

left
HtmlElement

O primeiro HtmlElement.

right
HtmlElement

O segundo HtmlElement.

Retornos

true se ambos os parâmetros forem null ou se ambos os elementos tiverem a mesma interface COM subjacente; caso contrário, false.

Comentários

O operador de igualdade testa os IUnknown ponteiros dos objetos COM subjacentes encapsulados pelas classes fornecidas HtmlElement .

O método equivalente para esse operador é HtmlElement.Equals

Aplica-se a