File.CompareTo(File) File.CompareTo(File) Method

Definition

Returns the relative sort ordering of the paths for this file and the file another.

[Android.Runtime.Register("compareTo", "(Ljava/io/File;)I", "GetCompareTo_Ljava_io_File_Handler")]
public virtual int CompareTo (Java.IO.File pathname);
abstract member CompareTo : Java.IO.File -> int
override this.CompareTo : Java.IO.File -> int

Parameters

pathname
File File

Returns

Remarks

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

See also