FlexReport for WPF | ComponentOne
C1.WPF.Document.4.6.2 Assembly / C1.WPF.Document Namespace / Utils Class / FastFind Method
An array of numbers to search for.
The number to search.
The index of specified element in array.

In This Topic
    FastFind Method (Utils)
    In This Topic
    Search the index of specified element in array of numbers.
    Syntax
    'Declaration
     
    Public Shared Function FastFind( _
       ByVal values() As Integer, _
       ByVal value As Integer, _
       ByRef index As Integer _
    ) As Boolean
    public static bool FastFind( 
       int[] values,
       int value,
       out int index
    )

    Parameters

    values
    An array of numbers to search for.
    value
    The number to search.
    index
    The index of specified element in array.

    Return Value

    True if element found; false otherwise.
    See Also