TryParse
Tries to convert the string representation of a version number to an equivalent Version object, and returns a value that indicates whether the conversion succeeded.
Public Function TryParse(
ByRef s As String,
ByRef Result As Version ) As Boolean
Parameters
- s
-
[ByRef]
String.
A string that contains a version number to convert.
- Result
-
[ByRef]
Version.
When this method returns, contains the Version equivalent of the number that is contained in s,
if the conversion succeeded, or Nothing if the conversion failed.
Return Values
Boolean - True if the s parameter was converted successfully; otherwise False..
See Also
Project CorLib Overview
Class VersionStatic Overview