Share via


OSDetails.MajorVersion Property

Namespace:  Microsoft.TeamFoundation.Common
Assembly:  Microsoft.TeamFoundation.Common (in Microsoft.TeamFoundation.Common.dll)

Syntax

'Declaration
Public Shared ReadOnly Property MajorVersion As Integer
public static int MajorVersion { get; }
public:
static property int MajorVersion {
    int get ();
}
static member MajorVersion : int with get
static function get MajorVersion () : int

Property Value

Type: System.Int32
Returns Int32.

.NET Framework Security

See Also

Reference

OSDetails Class

Microsoft.TeamFoundation.Common Namespace