CultureInfo.Equals Method
Determines whether the specified object is the same culture as the current CultureInfo.
[Visual Basic] Overrides Public Function Equals( _ ByVal value As Object _ ) As Boolean [C#] public override bool Equals( object value ); [C++] public: bool Equals( Object* value ); [JScript] public override function Equals( value : Object ) : Boolean;
Parameters
- value
- The object to compare with the current CultureInfo.
Return Value
true if value is the same culture as the current CultureInfo; otherwise, false.
Remarks
This method overrides Object.Equals.
Two CultureInfo instances are considered equal if the LCID properties are equal.
Requirements
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework
See Also
CultureInfo Class | CultureInfo Members | System.Globalization Namespace | Object.Equals