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

OperatingSystemFunctions.GetVersion Method 

[This is preliminary documentation and subject to change.]

Gets a Version object that identifies this operating system.

[Visual Basic]
<Function(Name:="get-version")>
Public Shared Function GetVersion( _
   ByVal operatingSystem As OperatingSystem _
) As Version
[C#]
[Function(Name="get-version")]
public static Version GetVersion(
   OperatingSystem operatingSystem
);

Parameters

operatingSystem
The operating system.

Return Value

A Version object that describes the major version, minor version, build, and revision of the operating system.

Remarks

Missing <remarks> documentation for M:NAnt.Core.Functions.OperatingSystemFunctions.GetVersion(System.OperatingSystem)

See Also

OperatingSystemFunctions Class | NAnt.Core.Functions Namespace | GetOperatingSystem