IsVersionSupported Method
Collapse the table of content
Expand the table of content

SilverlightHost.IsVersionSupported Method

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

Returns a value that indicates whether the specified version is supported.

Namespace:  System.Windows.Interop
Assembly:  System.Windows (in System.Windows.dll)

public bool IsVersionSupported(
	string versionStr
)

Parameters

versionStr
Type: System.String
The version to check, in the form of major.minor.build.revision See Remarks for more information about the string form.

Return Value

Type: System.Boolean
true if the version can be supported by the installation; otherwise, false.

The version string contains one through four integer values that are separated by dots, for example, "2.0.30908.0". The sequence of integers represents the major, minor, build, and revision numbers.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft