Nevron .NET Vision
Nevron.UI.WinForm.Controls Namespace / NListBoxItemCollection Class / Add Method
The item to add.

In This Topic
    Add Method (NListBoxItemCollection)
    In This Topic
    Adds a new item to the collection. Note that if the object is not a NListBoxItem a new item will be created automatically and the object will be set as its tag.
    Public Shadows Function Add( _
       ByVal o As System.Object _
    ) As System.Integer
    Dim instance As NListBoxItemCollection
    Dim o As System.Object
    Dim value As System.Integer
    value = instance.Add(o)
    public new Add( 
       System.object o


    The item to add.

    Return Value

    The index of the newly added item.

    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