Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.UI Namespace / FunctionIntelliSense Class / HitTest Method
The function overload order.
The position in the function's syntax.
The start position of found item.
The end position of found item.


In This Topic
    HitTest Method (FunctionIntelliSense)
    In This Topic
    Gets the information at the position in a function's syntax.
    Syntax
    'Declaration
     
    
    Public Function HitTest( _
       ByVal overload As Integer, _
       ByVal index As Integer, _
       ByRef start As Integer, _
       ByRef end As Integer _
    ) As Integer
    'Usage
     
    
    Dim instance As FunctionIntelliSense
    Dim overload As Integer
    Dim index As Integer
    Dim start As Integer
    Dim end As Integer
    Dim value As Integer
     
    value = instance.HitTest(overload, index, start, end)
    public int HitTest( 
       int overload,
       int index,
       out int start,
       out int end
    )

    Parameters

    overload
    The function overload order.
    index
    The position in the function's syntax.
    start
    The start position of found item.
    end
    The end position of found item.

    Return Value

    -1 if the item is function name. A non-negative value if the item is argument; otherwise, returns -2.
    See Also