Spread WPF 18
GrapeCity.Spreadsheet.FormControls Namespace / IListControl Interface / RemoveItem Method
The number of the first item to be removed.
The number of items to be removed, starting at item index.


In This Topic
    RemoveItem Method (IListControl)
    In This Topic
    Removes one or more items from a list box or combo box.
    Syntax
    'Declaration
     
    Sub RemoveItem( _
       ByVal index As Integer, _
       ByVal count As Integer _
    ) 
    'Usage
     
    Dim instance As IListControl
    Dim index As Integer
    Dim count As Integer
     
    instance.RemoveItem(index, count)
    void RemoveItem( 
       int index,
       int count
    )

    Parameters

    index
    The number of the first item to be removed.
    count
    The number of items to be removed, starting at item index.
    Remarks
    If the specified object has a fill range defined for it, this method fails.
    See Also