WebServiceStats.DescendingSort Method
Helper method to sort two WebServiceStats instances.
Namespace: Microsoft.TeamFoundation.Client
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
Syntax
'Dichiarazione
Public Shared Function DescendingSort ( _
first As WebServiceStats, _
second As WebServiceStats _
) As Integer
public static int DescendingSort(
WebServiceStats first,
WebServiceStats second
)
public:
static int DescendingSort(
WebServiceStats^ first,
WebServiceStats^ second
)
static member DescendingSort :
first:WebServiceStats *
second:WebServiceStats -> int
public static function DescendingSort(
first : WebServiceStats,
second : WebServiceStats
) : int
Parameters
- first
Type: Microsoft.TeamFoundation.Client.WebServiceStats
The first WebServiceStats instance to sort.
- second
Type: Microsoft.TeamFoundation.Client.WebServiceStats
The second WebServiceStats instnace to sort.
Return Value
Type: System.Int32
Returns -1 if first should be sorted before second.
Returns 1 if first should be sorted after second.
Remarks
The two WebServiceStats instances are sorted by the TotalTime, Average, Count, and WebService names, in order of importance.
.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.