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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.