This documentation is archived and is not being maintained.
TFStringComparer::Compare Method (String, Int32, String, Int32, Int32)
Visual Studio 2013
Compares the specified strings from the specified indices.
Namespace: Microsoft.TeamFoundation
Assembly: Microsoft.TeamFoundation.Common (in Microsoft.TeamFoundation.Common.dll)
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::Int32Zero 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
- 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.
Show: