次の方法で共有


PSUtility.Compare<T> Method

Reserved for internal use.

Namespace:  Microsoft.Office.Project.Server.Library
Assembly:  Microsoft.Office.Project.Server.Library (in Microsoft.Office.Project.Server.Library.dll)

Syntax

'Declaration
Public Shared Function Compare(Of T) ( _
    left As T, _
    right As T, _
    compare As Func(Of T, T, Integer) _
) As Integer
'Usage
Dim left As T
Dim right As T
Dim compare As Func(Of T, T, Integer)
Dim returnValue As Integer

returnValue = PSUtility.Compare(left, _
    right, compare)
public static int Compare<T>(
    T left,
    T right,
    Func<T, T, int> compare
)

Type Parameters

  • T

Parameters

  • left
    Type: T
  • right
    Type: T

Return Value

Type: System.Int32
Returns Int32.

See Also

Reference

PSUtility Class

PSUtility Members

Microsoft.Office.Project.Server.Library Namespace