version::parse

Converts the specified string representation of a version to its Version equivalent.

Usage

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 Version instance representing the specified String.

Exceptions

The function will fail in any of the following circumstances:

Requirements

Assembly: NAnt.Core (0.91.4312.0)