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
- compare
Type: System.Func<T, T, Int32>
Return Value
Type: System.Int32
Returns Int32.