Nevron .NET Vision
Nevron.Collections Namespace / NArrayList Class / Add Method
object to add


In This Topic
    Add Method (NArrayList)
    In This Topic
    Adds a new object to the list.
    Syntax
    'Declaration
     
    
    Public Overrides Function Add( _
       ByVal value As System.Object _
    ) As System.Integer
    'Usage
     
    
    Dim instance As NArrayList
    Dim value As System.Object
    Dim value As System.Integer
     
    value = instance.Add(value)
    public override System.int Add( 
       System.object value
    )

    Parameters

    value
    object to add

    Return Value

    index of the added object in the array list
    Exceptions
    ExceptionDescription
    Thrown if value type is different from array list type
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also