NAnt SDK Documentation - v0.92

VersionFunctions.GetBuild Method 

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

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

Parameters

version
A version.

Return Value

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

See Also

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