CompareInfo::Equals Method (Object^)
.NET Framework (current version)
Determines whether the specified object is equal to the current CompareInfo object.
Assembly: mscorlib (in mscorlib.dll)
Parameters
- value
-
Type:
System::Object^
The object to compare with the current CompareInfo.
Return Value
Type: System::Booleantrue if the specified object is equal to the current CompareInfo; otherwise, false.
Two CompareInfo objects are equal if their LCID and Name properties are equal.
This method overrides Object::Equals.
If a security decision depends on a string comparison or a case change, you should use the InvariantCulture property to ensure that the behavior is consistent regardless of the culture settings of the operating system.
Universal Windows Platform
Available since 8
.NET Framework
Available since 1.1
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Available since 8
.NET Framework
Available since 1.1
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Show: