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.
Namespace:  Microsoft.TeamFoundation.Server
Assembly:  Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
Syntax
'Declaration
Public Shared Function Compare ( _
    str1 As String, _
    str2 As String _
) As Integer
public static int Compare(
    string str1,
    string str2
)
public:
static int Compare(
    String^ str1, 
    String^ str2
)
static member Compare : 
        str1:string * 
        str2:string -> int
public static function Compare(
    str1 : String, 
    str2 : String
) : int
Parameters
- str1
 Type: System.String
- str2
 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.