Share via


OpenXmlComparableSimpleReference<T>.Equality Operator

Definition

Determines whether the specified operands are equal.

public static bool operator == (DocumentFormat.OpenXml.OpenXmlComparableSimpleReference<T> left, DocumentFormat.OpenXml.OpenXmlComparableSimpleReference<T> right);
public static bool operator == (DocumentFormat.OpenXml.OpenXmlComparableSimpleReference<T>? left, DocumentFormat.OpenXml.OpenXmlComparableSimpleReference<T>? right);
static member ( = ) : DocumentFormat.OpenXml.OpenXmlComparableSimpleReference<'T (requires 'T : null and 'T :> IComparable and 'T :> IComparable<'T> and 'T :> IEquatable<'T>)> * DocumentFormat.OpenXml.OpenXmlComparableSimpleReference<'T (requires 'T : null and 'T :> IComparable and 'T :> IComparable<'T> and 'T :> IEquatable<'T>)> -> bool
Public Shared Operator == (left As OpenXmlComparableSimpleReference(Of T), right As OpenXmlComparableSimpleReference(Of T)) As Boolean

Parameters

left
OpenXmlComparableSimpleReference<T>

The left operand, or null.

right
OpenXmlComparableSimpleReference<T>

The right operand, or null.

Returns

True if the operands are equal; otherwise, false.

Applies to