Nevron .NET Vision
Nevron.Chart Namespace / NDataSeriesString Class / FindString Method / FindString(String,Int32) Method
string to find
index to start from


In This Topic
    FindString(String,Int32) Method
    In This Topic
    Finds the index of the first string contained in the data series which is equal to stringToFind.
    Syntax
    'Declaration
     
    
    Public Overloads Function FindString( _
       ByVal stringToFind As System.String, _
       ByVal startIndex As System.Integer _
    ) As System.Integer
    'Usage
     
    
    Dim instance As NDataSeriesString
    Dim stringToFind As System.String
    Dim startIndex As System.Integer
    Dim value As System.Integer
     
    value = instance.FindString(stringToFind, startIndex)
    public System.int FindString( 
       System.string stringToFind,
       System.int startIndex
    )

    Parameters

    stringToFind
    string to find
    startIndex
    index to start from

    Return Value

    index od the string within the data series. -1 if the search failed
    Exceptions
    ExceptionDescription
    thrown if the start index is negative
    thrown if the data series does not contain string values
    Remarks
    Note that this methods operates only on data series, which contain string 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