DirectoryInfoNaturalComparerCompare 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(
DirectoryInfo first,
DirectoryInfo second
)
Public Function Compare (
first As DirectoryInfo,
second As DirectoryInfo
) As Integer
Dim instance As DirectoryInfoNaturalComparer
Dim first As DirectoryInfo
Dim second As DirectoryInfo
Dim returnValue As Integer
returnValue = instance.Compare(first,
second)
public:
virtual int Compare(
DirectoryInfo^ first,
DirectoryInfo^ second
) sealed
abstract Compare :
first : DirectoryInfo *
second : DirectoryInfo -> int
override Compare :
first : DirectoryInfo *
second : DirectoryInfo -> int
No code example is currently available or this language may not be supported.
- first DirectoryInfo
-
The first DirectoryInfo to compare.
- second DirectoryInfo
-
The second DirectoryInfo to compare.
Int32
- Returns zero if the directory names are identical.
(This value can be casted as:
Equals)
- Returns 1 if the directory 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 directory 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)