NAnt SDK Documentation - v0.92

VersionFunctions.GetRevision Method 

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

[Visual Basic]
<Function(Name:="get-revision")>
Public Shared Function GetRevision( _
   ByVal version As Version _
) As Integer
[C#]
[Function(Name="get-revision")]
public static int GetRevision(
   Version version
);

Parameters

version
A version.

Return Value

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

See Also

VersionFunctions Class | NAnt.Core.Functions Namespace | GetVersion | GetVersion | GetVersion