Export (0) Print
Expand All

CompareInfo.Equals Method

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.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

XNA Framework

Supported in: 3.0, 2.0, 1.0

Portable Class Library

Supported in: Portable Class Library

Supported in: Windows Phone 8.1

Supported in: Windows Phone Silverlight 8.1

Supported in: Windows Phone Silverlight 8
Show:
© 2015 Microsoft