FileInfoNaturalComparerCompare Method
Namespace: DevCase.Runtime.TypeComparersAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public int Compare(
FileInfo first,
FileInfo second
)
Public Function Compare (
first As FileInfo,
second As FileInfo
) As Integer
Dim instance As FileInfoNaturalComparer
Dim first As FileInfo
Dim second As FileInfo
Dim returnValue As Integer
returnValue = instance.Compare(first,
second)
public:
virtual int Compare(
FileInfo^ first,
FileInfo^ second
) sealed
abstract Compare :
first : FileInfo *
second : FileInfo -> int
override Compare :
first : FileInfo *
second : FileInfo -> int
No code example is currently available or this language may not be supported.
- first FileInfo
-
The first FileInfo to compare.
- second FileInfo
-
The second FileInfo to compare.
Int32
- Returns zero if the file names are identical.
(This value can be casted as:
Equals)
- Returns 1 if the file name pointed to by 'first' has a greater value than that pointed to by 'second'.
(This value can be casted as:
GreaterThan)
- Returns -1 if the file name pointed to by 'first' has a lesser value than that pointed to by 'second'.
(This value can be casted as:
LessThan)
IComparerTCompare(T, T)