TreeView for WinForms | ComponentOne
C1.Framework Namespace / ElementList Class / Add Method
The System.Object to be added to the end of the System.Collections.ArrayList. The value can be a null reference (Nothing in Visual Basic).

In This Topic
    Add Method (ElementList)
    In This Topic
    Adds an object to the end of the System.Collections.ArrayList.
    Syntax
    'Declaration
     
    
    Public Overrides Function Add( _
       ByVal value As Object _
    ) As Integer
    public override int Add( 
       object value
    )

    Parameters

    value
    The System.Object to be added to the end of the System.Collections.ArrayList. The value can be a null reference (Nothing in Visual Basic).

    Return Value

    The System.Collections.ArrayList index at which the value has been added.
    Exceptions
    ExceptionDescription
    The System.Collections.ArrayList is read-only. -or- The System.Collections.ArrayList has a fixed size.
    See Also