Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the operating system major version number, which is retrieved from GetVersionEx.
Namespace: Microsoft.VisualStudio.IntelliTrace
Assembly: Microsoft.VisualStudio.IntelliTrace (in Microsoft.VisualStudio.IntelliTrace.dll)
Syntax
'Declaration
Public ReadOnly Property OSMajorVersion As Integer
Get
public int OSMajorVersion { get; }
public:
property int OSMajorVersion {
int get ();
}
member OSMajorVersion : int
function get OSMajorVersion () : int
Property Value
Type: System.Int32
.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.