Compartir a través de


Charset.CompareTo(Charset) Method

Definition

Compares this charset to another.

[Android.Runtime.Register("compareTo", "(Ljava/nio/charset/Charset;)I", "")]
public int CompareTo (Java.Nio.Charset.Charset? that);
[<Android.Runtime.Register("compareTo", "(Ljava/nio/charset/Charset;)I", "")>]
member this.CompareTo : Java.Nio.Charset.Charset -> int

Parameters

that
Charset

The charset to which this charset is to be compared

Returns

A negative integer, zero, or a positive integer as this charset is less than, equal to, or greater than the specified charset

Attributes

Remarks

Compares this charset to another.

Charsets are ordered by their canonical names, without regard to case.

Java documentation for java.nio.charset.Charset.compareTo(java.nio.charset.Charset).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to