LessThan Operator
Collapse the table of content
Expand the table of content

Version.LessThan Operator

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Determines whether the first specified Version object is less than the second specified Version object.

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

public static bool operator <(
	Version v1,
	Version v2
)

Parameters

v1
Type: System.Version
The first Version object.
v2
Type: System.Version
The second Version object.

Return Value

Type: System.Boolean
true if v1 is less than v2; otherwise, false.

ExceptionCondition
ArgumentNullException

v1 is null.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft