Partilhar via


SubsystemVersion Struct

Definition

Represents subsystem version, see /subsystemversion command line option for details and valid values.

The following table lists common subsystem versions of Windows.

Windows version Subsystem version

  • Windows 2000 5.00
  • Windows XP 5.01
  • Windows Vista 6.00
  • Windows 7 6.01
  • Windows 8 Release Preview 6.02
public value class SubsystemVersion : IEquatable<Microsoft::CodeAnalysis::SubsystemVersion>
public struct SubsystemVersion : IEquatable<Microsoft.CodeAnalysis.SubsystemVersion>
public readonly struct SubsystemVersion : IEquatable<Microsoft.CodeAnalysis.SubsystemVersion>
type SubsystemVersion = struct
Public Structure SubsystemVersion
Implements IEquatable(Of SubsystemVersion)
Inheritance
SubsystemVersion
Implements

Properties

IsValid

True if the subsystem version has a valid value

Major

Major subsystem version

Minor

Minor subsystem version

None

Subsystem version not specified

Windows2000

Subsystem version: Windows 2000

Windows7

Subsystem version: Windows 7

Windows8

Subsystem version: Windows 8

WindowsVista

Subsystem version: Windows Vista

WindowsXP

Subsystem version: Windows XP

Methods

Create(Int32, Int32)

Create a new instance of subsystem version with specified major and minor values.

Equals(Object)
Equals(SubsystemVersion)
GetHashCode()
ToString()
TryParse(String, SubsystemVersion)

Try parse subsystem version in "x.y" format. Note, no spaces are allowed in string representation.

Applies to