Equals Method (Version)
Collapse the table of content
Expand the table of content

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.

Namespace:  System
Assembly:  mscorlib (in mscorlib.dll)

'Declaration
Public Function Equals ( _
	obj As Version _
) As Boolean

Parameters

obj
Type: System.Version
A Version object to compare to the current Version object, or Nothing.

Return Value

Type: System.Boolean
true 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.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft