CultureInfo.Equals(Object) Method

Definition

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

public:
 override bool Equals(System::Object ^ value);
public override bool Equals (object value);
override this.Equals : obj -> bool
Public Overrides Function Equals (value As Object) As Boolean

Parameters

value
Object

The object to compare with the current CultureInfo.

Returns

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

Remarks

This method overrides Object.Equals.

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

Applies to

See also