ServiceLevel.CompareMajorVersions Method
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Shared Function CompareMajorVersions ( _
version1 As String, _
version2 As String _
) As Integer
public static int CompareMajorVersions(
string version1,
string version2
)
public:
static int CompareMajorVersions(
String^ version1,
String^ version2
)
static member CompareMajorVersions :
version1:string *
version2:string -> int
public static function CompareMajorVersions(
version1 : String,
version2 : String
) : int
Parameters
- version1
Type: System.String
- version2
Type: System.String
Return 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.