Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Compares the specified strings from the specified indices.
Namespace: Microsoft.TeamFoundation
Assembly: Microsoft.TeamFoundation.Common (in Microsoft.TeamFoundation.Common.dll)
Syntax
'Declaration
Public Function Compare ( _
x As String, _
indexX As Integer, _
y As String, _
indexY As Integer, _
length As Integer _
) As Integer
public int Compare(
string x,
int indexX,
string y,
int indexY,
int length
)
public:
int Compare(
String^ x,
int indexX,
String^ y,
int indexY,
int length
)
member Compare :
x:string *
indexX:int *
y:string *
indexY:int *
length:int -> int
public function Compare(
x : String,
indexX : int,
y : String,
indexY : int,
length : int
) : int
Parameters
- x
Type: System.String
The first string to compare.
- indexX
Type: System.Int32
The index of the first string from which to compare.
- y
Type: System.String
The second string to compare.
- indexY
Type: System.Int32
The index of the second string from which to compare.
- length
Type: System.Int32
The number of characters to compare from the specified indices.
Return Value
Type: System.Int32
Zero if the strings are equal. A negative number if x is less than y in sort order. A positive number if x is greater than y in sort order
.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.