version::get-revision

[This is preliminary documentation and subject to change.]

Gets the value of the revision component of a given version string.

Usage

version::get-revision(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

The revision number, or -1 if the revision number is undefined.

Requirements

Assembly: NAnt.Core (0.85.1698.0)