NAnt SDK Documentation - v0.85-nightly-2005-11-09

VersionFunctions.GetMajor Method 

[This is preliminary documentation and subject to change.]

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

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

Parameters

version
A version.

Return Value

The major version number.

Remarks

Missing <remarks> documentation for M:NAnt.Core.Functions.VersionFunctions.GetMajor(System.Version)

See Also

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