CultureInfo.Equals(Object) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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);
public override bool Equals (object? value);
override this.Equals : obj -> bool
Public Overrides Function Equals (value As Object) As Boolean
- value
- Object
The object to compare with the current CultureInfo.
true
if value
is the same culture as the current CultureInfo; otherwise, false
.
This method overrides Object.Equals.
Two CultureInfo objects are considered equal if their Name and CompareInfo properties are equal.
.NET feedback
.NET is an open source project. Select a link to provide feedback: