Condividi tramite


OSDetails.MajorVersion Property

Namespace:  Microsoft.VisualStudio.Services.Common
Assembly:  Microsoft.VisualStudio.Services.Common (in Microsoft.VisualStudio.Services.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

.NET Framework Security

See Also

Reference

OSDetails Class

Microsoft.VisualStudio.Services.Common Namespace