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>) | |
CompareTo(Object) | |
CompareTo(T) |
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)> -> int
Public Function CompareTo (other As OpenXmlComparableSimpleValue(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
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 -> int
Public Function CompareTo (other As T) As Integer
Parameters
- other
- T
Returns
Implements
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應