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


calc
Calculation to perform on the elements.
text
Name of the new element.
Adds an element to the collection based on the specified collection with the specified name.

Syntax

Visual Basic (Declaration) 
Overloads Public Function Add( _
   ByVal calc As Calculation, _
   ByVal text As String _
) As Integer
Visual Basic (Usage)Copy Code
Dim instance As ElementCollection
Dim calc As Calculation
Dim text As String
Dim value As Integer
 
value = instance.Add(calc, text)
C# 
public int Add( 
   Calculation calc,
   string text
)

Parameters

calc
Calculation to perform on the elements.
text
Name of the new element.

Return Value

Numeric index of the added element.

See Also