VersionControlPath.Compare Method (String, String)
Namespace: Microsoft.TeamFoundation.VersionControl.Common
Assembly: Microsoft.TeamFoundation.VersionControl.Common (in Microsoft.TeamFoundation.VersionControl.Common.dll)
Syntax
'Declaration
Public Shared Function Compare ( _
item1 As String, _
item2 As String _
) As Integer
public static int Compare(
string item1,
string item2
)
public:
static int Compare(
String^ item1,
String^ item2
)
static member Compare :
item1:string *
item2:string -> int
public static function Compare(
item1 : String,
item2 : String
) : int
Parameters
- item1
Type: System.String
- item2
Type: System.String
Return 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.