MindFusion.Charting Programmer's Guide

DoubleCollection.Insert Method

See Also
 





Inserts the specified double number at the specified position within the collection.

Namespace: MindFusion.Charting
Assembly: MindFusion.Charting

 Syntax

C#  Copy Code

public void Insert (
    int index,
    double value
)

Visual Basic  Copy Code

Public Sub Insert ( _
    index As Integer, _
    value As Double _
)

JavaScript  Copy Code

function Insert (index, value)

 Parameters

index

The zero-based index at which value should be inserted.

value
The double value to insert.

 Remarks

The collection's count is increased with 1. The items, which followed the inserted item, are moved backwards with one place. Their indexes are also updated.

 See Also