version::to-string

Converts the specified System.Version to its equivalent string representation.
string version::to-string(value)

Parameters

Name Type Description
value Version A System.Version to convert.

Return Value

The string representation of the values of the major, minor, build, and revision components of the specified System.Version.

Requirements

Assembly
NAnt.Core.dll
Namespace
NAnt.Core.Functions

See Also

  • NAnt.Core.Functions.AssemblyNameFunctions.GetVersion(System.Reflection.AssemblyName)
  • NAnt.Core.Functions.EnvironmentFunctions.GetVersion
  • NAnt.Core.Functions.OperatingSystemFunctions.GetVersion(System.OperatingSystem)