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
- 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.