version::parse

Converts the specified string representation of a version to its System.Version equivalent.
Version version::parse(version)

Parameters

Name Type Description
version string A string containing the major, minor, build, and revision numbers, where each number is delimited with a period character ('.').

Return Value

A System.Version instance representing the specified string.

Requirements

Assembly
NAnt.Core.dll
Namespace
NAnt.Core.Functions