Spread Windows Forms 17
FarPoint.Win.Chart Assembly / FarPoint.Win.Chart Namespace / LightCollection Class / Insert Method
Index at which item should be inserted.
Light.


In This Topic
    Insert Method (LightCollection)
    In This Topic
    Inserts a light into the collection at the specified index.
    Syntax
    'Declaration
     
    
    Public Sub Insert( _
       ByVal index As Integer, _
       ByVal item As Light _
    ) 
    'Usage
     
    
    Dim instance As LightCollection
    Dim index As Integer
    Dim item As Light
     
    instance.Insert(index, item)
    public void Insert( 
       int index,
       Light item
    )

    Parameters

    index
    Index at which item should be inserted.
    item
    Light.
    Exceptions
    ExceptionDescription
    item is a null reference (Nothing in VB).
    See Also