OpenXmlComparableSimpleReference<T>.CompareTo Method

Definition

Overloads

CompareTo(OpenXmlComparableSimpleReference<T>)
CompareTo(Object)

CompareTo(OpenXmlComparableSimpleReference<T>)

Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.

public int CompareTo (DocumentFormat.OpenXml.OpenXmlComparableSimpleReference<T> other);
public int CompareTo (DocumentFormat.OpenXml.OpenXmlComparableSimpleReference<T>? other);
abstract member CompareTo : DocumentFormat.OpenXml.OpenXmlComparableSimpleReference<'T (requires 'T : null and 'T :> IComparable and 'T :> IComparable<'T> and 'T :> IEquatable<'T>)> -> int
override this.CompareTo : DocumentFormat.OpenXml.OpenXmlComparableSimpleReference<'T (requires 'T : null and 'T :> IComparable and 'T :> IComparable<'T> and 'T :> IEquatable<'T>)> -> int
Public Function CompareTo (other As OpenXmlComparableSimpleReference(Of T)) As Integer

Parameters

Returns

Implements

Applies to

CompareTo(Object)

Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.

public int CompareTo (object obj);
public int CompareTo (object? obj);
abstract member CompareTo : obj -> int
override this.CompareTo : obj -> int
Public Function CompareTo (obj As Object) As Integer

Parameters

obj
Object

Returns

Implements

Applies to