Method TryParse
TryParse(string, out HarpVersion)
Converts a string representation of a HarpVersion to its equivalent value. A return value indicates whether the conversion succeeded.
public static bool TryParse(string version, out HarpVersion value)
Parameters
version
stringThe string representing a HarpVersion.
value
HarpVersionWhen this method returns, contains the equivalent HarpVersion object for the specified string representation if the conversion was successful; otherwise, contains null.
Returns
- bool
true if the conversion was successful; otherwise, false.