This documentation is archived and is not being maintained.
Version::Equals Method (Version)
Visual Studio 2010
Namespace:
System
Assembly: mscorlib (in mscorlib.dll)
Parameters
- obj
- Type: System::Version
A Version object to compare to the current Version object, or nullptr.
Return Value
Type: System::Booleantrue if every component of the current Version object matches the corresponding component of the obj parameter; otherwise, false.
Implements
IEquatable<T>::Equals(T)This method implements the IEquatable<T> interface, and performs slightly better than the Equals method because it does not have to unbox the obj parameter.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: