SystemInfo.OSMajor Property
Gets or sets the major version number of the operating system. For example, for Windows CE version 2.1, the major version number is 2.
Namespace: Microsoft.SmartDevice.Connectivity
Assembly: Microsoft.SmartDevice.Connectivity (in Microsoft.SmartDevice.Connectivity.dll)
Syntax
'Declaration
Public Property OSMajor As Integer
'Usage
Dim instance As SystemInfo
Dim value As Integer
value = instance.OSMajor
instance.OSMajor = value
public int OSMajor { get; set; }
public:
property int OSMajor {
int get ();
void set (int value);
}
public function get OSMajor () : int
public function set OSMajor (value : int)
Property Value
Type: System.Int32
The major version number of the device's operating system.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.