GreaterThan Operator
Collapse the table of content
Expand the table of content

Version.GreaterThan 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 greater than the second specified Version object.

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

public static bool operator >(
	Version v1,
	Version v2


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

Return Value

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

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

© 2016 Microsoft