Version.Equals Method (Version)
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Returns a value indicating whether the current Version object and a specified Version object represent the same value.
Assembly: mscorlib (in mscorlib.dll)
Parameters
- obj
- Type: System.Version
A Version object to compare to the current Version object, or Nothing.
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(Of T).Equals(T)This method implements the IEquatable(Of T) interface, and performs slightly better than the Equals method because it does not have to unbox the obj parameter.
Show: