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

OperatingSystemFunctions.GetPlatform Method 

[This is preliminary documentation and subject to change.]

Gets a PlatformID value that identifies the operating system platform.

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

Parameters

operatingSystem
The operating system.

Return Value

PlatformID value that identifies the operating system platform.

Remarks

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

See Also

OperatingSystemFunctions Class | NAnt.Core.Functions Namespace | GetOperatingSystem