CompareInfo.Equals Method (Object)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Determines whether the specified object is equal to the current CompareInfo object.

Namespace:   System.Globalization
Assembly:  mscorlib (in mscorlib.dll)

public override bool Equals(
	object value
)

Parameters

value
Type: System.Object

The object to compare with the current CompareInfo.

Return Value

Type: System.Boolean

true 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
Return to top
Show: