FileSystemInfoEqualityComparerEquals(FileSystemInfo, FileSystemInfo) Method
Determines whether the specified two
FileSystemInfo objects are equal.
If the
FullName property of the two objects are equal, the objects are considered equal.
If the
FullName property of the two objects differs, the objects are considered different.
The
FullName property is compared using
OrdinalIgnoreCase rules.
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 override bool Equals(
FileSystemInfo first,
FileSystemInfo second
)
Public Overrides Function Equals (
first As FileSystemInfo,
second As FileSystemInfo
) As Boolean
Dim instance As FileSystemInfoEqualityComparer
Dim first As FileSystemInfo
Dim second As FileSystemInfo
Dim returnValue As Boolean
returnValue = instance.Equals(first, second)
public:
virtual bool Equals(
FileSystemInfo^ first,
FileSystemInfo^ second
) override
abstract Equals :
first : FileSystemInfo *
second : FileSystemInfo -> bool
override Equals :
first : FileSystemInfo *
second : FileSystemInfo -> bool
No code example is currently available or this language may not be supported.
- first FileSystemInfo
-
The first FileSystemInfo object to compare.
- second FileSystemInfo
-
The second FileSystemInfo object to compare.
Boolean if the specified objects are equal;
otherwise,
.
IEqualityComparerTEquals(T, T)