Gets the value of the revision component of a given version.
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 .dll - Namespace
-
NAnt
.Core .Functions
See Also
- NAnt.Core.Functions.AssemblyNameFunctions.GetVersion(System.Reflection.AssemblyName)
- NAnt.Core.Functions.EnvironmentFunctions.GetVersion
- NAnt.Core.Functions.OperatingSystemFunctions.GetVersion(System.OperatingSystem)