UtfAnyString.CompareTo Method

Definition

Overloads

CompareTo(Utf8Span)
CompareTo(Utf8String)
CompareTo(UtfAnyString)
CompareTo(String)

CompareTo(Utf8Span)

public int CompareTo (Microsoft.Azure.Cosmos.Core.Utf8.Utf8Span other);
member this.CompareTo : Microsoft.Azure.Cosmos.Core.Utf8.Utf8Span -> int
Public Function CompareTo (other As Utf8Span) As Integer

Parameters

other
Utf8Span

Returns

Applies to

CompareTo(Utf8String)

public int CompareTo (Microsoft.Azure.Cosmos.Core.Utf8.Utf8String other);
abstract member CompareTo : Microsoft.Azure.Cosmos.Core.Utf8.Utf8String -> int
override this.CompareTo : Microsoft.Azure.Cosmos.Core.Utf8.Utf8String -> int
Public Function CompareTo (other As Utf8String) As Integer

Parameters

other
Utf8String

Returns

Implements

Applies to

CompareTo(UtfAnyString)

public int CompareTo (Microsoft.Azure.Cosmos.Core.Utf8.UtfAnyString other);
abstract member CompareTo : Microsoft.Azure.Cosmos.Core.Utf8.UtfAnyString -> int
override this.CompareTo : Microsoft.Azure.Cosmos.Core.Utf8.UtfAnyString -> int
Public Function CompareTo (other As UtfAnyString) As Integer

Parameters

other
UtfAnyString

Returns

Implements

Applies to

CompareTo(String)

public int CompareTo (string other);
abstract member CompareTo : string -> int
override this.CompareTo : string -> int
Public Function CompareTo (other As String) As Integer

Parameters

other
String

Returns

Implements

Applies to