OpenXmlComparableSimpleValue<T>.CompareTo Method     
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
CompareTo(OpenXmlComparableSimpleValue<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.OpenXmlComparableSimpleValue<T> other);public int CompareTo(DocumentFormat.OpenXml.OpenXmlComparableSimpleValue<T>? other);abstract member CompareTo : DocumentFormat.OpenXml.OpenXmlComparableSimpleValue<'T (requires 'T : struct)> -> int
override this.CompareTo : DocumentFormat.OpenXml.OpenXmlComparableSimpleValue<'T (requires 'T : struct)> -> intPublic Function CompareTo (other As OpenXmlComparableSimpleValue(Of T)) As IntegerParameters
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 -> intPublic Function CompareTo (obj As Object) As IntegerParameters
- obj
- Object
Returns
Implements
Applies to
CompareTo(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(T other);abstract member CompareTo : 'T -> int
override this.CompareTo : 'T -> intPublic Function CompareTo (other As T) As IntegerParameters
- other
- T