OpenXmlComparableSimpleReference<T>.LessThanOrEqual Operator

Definition

Determines whether the left operand is less than or equal to the right operand.

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 left operand is less than or equal to the right operand; otherwise, false.

Applies to