Xceed SmartUI for WinForms v3.6 Documentation
Xceed.SmartUI.v3.6 Assembly / Xceed.SmartUI Namespace / SmartItemCollection Class / Add Method / Add(SmartItem) Method
A reference to the SmartItem object to add to the list.


In This Topic
    Add(SmartItem) Method
    In This Topic
    Adds a SmartItem to the collection.
    Syntax
    'Declaration
     
    Public Overloads Function Add( _
       ByVal item As SmartItem _
    ) As Integer
    'Usage
     
    Dim instance As SmartItemCollection
    Dim item As SmartItem
    Dim value As Integer
     
    value = instance.Add(item)
    public int Add( 
       SmartItem item
    )

    Parameters

    item
    A reference to the SmartItem object to add to the list.

    Return Value

    The index at which the SmartItem was added.
    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