Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.Drawing Namespace / IControlFormat 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 (IControlFormat)
    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 IControlFormat
    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