System.Globalization.CultureInfo.Equals Method

Determines whether the specified object is the same culture as the current System.Globalization.CultureInfo.

Syntax

public override bool Equals (object value)

Parameters

value
The object to compare with the current System.Globalization.CultureInfo.

Returns

true if value is the same culture as the current System.Globalization.CultureInfo; otherwise, false.

Remarks

This method overrides object.Equals(object).

Two System.Globalization.CultureInfo objects are considered equal if their CultureInfo.Name and CultureInfo.CompareInfo properties are equal.

Requirements

Namespace: System.Globalization
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0