Nevron .NET Vision
Nevron.Chart Namespace / NDataSeriesDouble Class / FindValue Method / FindValue(Double) Method
double value to find


In This Topic
    FindValue(Double) Method
    In This Topic
    Finds the index of the first value contained in the data series which is equal to valueToFind.
    Syntax
    'Declaration
     
    
    Public Overloads Function FindValue( _
       ByVal valueToFind As System.Double _
    ) As System.Integer
    'Usage
     
    
    Dim instance As NDataSeriesDouble
    Dim valueToFind As System.Double
    Dim value As System.Integer
     
    value = instance.FindValue(valueToFind)
    public System.int FindValue( 
       System.double valueToFind
    )

    Parameters

    valueToFind
    double value to find

    Return Value

    index of the value within the data series. -1 if the search failed
    Exceptions
    ExceptionDescription
    thrown if the data series does not contain double values
    Remarks
    Note that this methods operates only on data series, which contain double values.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also