The version object Version is used by the version property of the Build object.  It provides access to each component the version string 

Properties

NameDescriptionTypeUsage Example
DefaultA reference object for decomposing a version string using the default versioning formatDotNet$Build.Version.Default
DotNetA reference object for decomposing a version string using the .Net versioning formatDotNet$Build.Version.DotNet
SemanticA reference object for decomposing a version string using the Semantic versioning formatSemantic$Build.Version.Semantic


DotNet Properties

NameDescriptionTypeUsage Example (given "1.2.3.4")
BuildThe build component of the version numberInteger$Build.Version.Default.Build$3
MajorThe major component of the version numberInteger$Build.Version.Default.Major$1
MinorThe minor component of the version numberInteger$Build.Version.Default.Minor$2
RevisionThe revision component of the version numberInteger$Build.Version.Default.Revision$4


Semantic Properties

NameDescriptionTypeUsage Example (given "1.2.0.1287-beta+meta")
BuildThe build component of the version numberInteger$Build.Version.Semantic.Build$0
MajorThe major component of the version numberInteger$Build.Version.Semantic.Major$1
MetaDataThe metadata string after the plus at the end of the version numberString$Build.Version.Semantic.MetaData$"meta"
MinorThe minor component of the version numberInteger$Build.Version.Semantic.Minor$2
RevisionThe revision component of the version numberInteger$Build.Version.Semantic.Revision$1287
ReleaseThe release string after the dash at the end of the version numberString$Build.Version.Semantic.Revision$"beta"