dotnetCHARTING Send comments on this topic.
Insert Method
See Also 
dotnetCHARTING Namespace > ElementCollection Class : Insert Method


index
The zero-based index into the collection at which to insert the element.
element
The element to insert into this collection.
Inserts a element into this collection at a specified index.

Syntax

Visual Basic (Declaration) 
Public Sub Insert( _
   ByVal index As Integer, _
   ByVal element As Element _
) 
Visual Basic (Usage)Copy Code
Dim instance As ElementCollection
Dim index As Integer
Dim element As Element
 
instance.Insert(index, element)
C# 
public void Insert( 
   int index,
   Element element
)

Parameters

index
The zero-based index into the collection at which to insert the element.
element
The element to insert into this collection.

See Also