version::get-revision

[This is preliminary documentation and subject to change.]

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

Usage

int version::get-revision(version)

Parameters

Name Type Description
version Version A version.

Return Value

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

Requirements

Assembly: NAnt.Core (0.91.3954.0)

See Also

assemblyname::get-version() | environment::get-version() | operating-system::get-version()