共用方式為


PSUtility.LowerBound<TBase, TKey> Method (TKey, IList<TBase>, Func<TBase, TKey>, IComparer<TKey>)

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 LowerBound(Of TBase, TKey) ( _
    key As TKey, _
    sortedList As IList(Of TBase), _
    keySelector As Func(Of TBase, TKey), _
    keyComparer As IComparer(Of TKey) _
) As Integer
'Usage
Dim key As TKey
Dim sortedList As IList(Of TBase)
Dim keySelector As Func(Of TBase, TKey)
Dim keyComparer As IComparer(Of TKey)
Dim returnValue As Integer

returnValue = PSUtility.LowerBound(key, _
    sortedList, keySelector, keyComparer)
public static int LowerBound<TBase, TKey>(
    TKey key,
    IList<TBase> sortedList,
    Func<TBase, TKey> keySelector,
    IComparer<TKey> keyComparer
)

Type Parameters

  • TBase
  • TKey

Parameters

  • key
    Type: TKey

Return Value

Type: System.Int32
Returns Int32.

See Also

Reference

PSUtility Class

PSUtility Members

LowerBound Overload

Microsoft.Office.Project.Server.Library Namespace