Converts the specified string representation of a version to its Version equivalent.
A Version instance representing the specified String.
| Exception Type | Condition |
|---|---|
| ArgumentException | version has fewer than two components or more than four components. |
| ArgumentOutOfRangeException | A major, minor, build, or revision component is less than zero. |
| FormatException | At least one component of version does not parse to a decimal integer. |
VersionConversionFunctions Class | NAnt.Core.Functions Namespace