CultureInfo.Equals(Object) Method
Definition
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
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.