dotnetCHARTING Send comments on this topic.
Add(Element) Method
See Also 
dotnetCHARTING Namespace > ElementCollection Class > Add Method : Add(Element) Method


element
The Element to add.
Adds a specified Element class to this collection.

Syntax

Visual Basic (Declaration) 
Overloads Public Function Add( _
   ByVal element As Element _
) As Integer
Visual Basic (Usage)Copy Code
Dim instance As ElementCollection
Dim element As Element
Dim value As Integer
 
value = instance.Add(element)
C# 
public int Add( 
   Element element
)

Parameters

element
The Element to add.

Return Value

The zero-based index of the added Element.

See Also