Reports for WinForms | ComponentOne
C1.C1Report.4 Assembly / C1.C1Preview Namespace / RenderInputComboBoxItemCollection Class / Add Method / Add(String) Method
The text of the item to add.

In This Topic
    Add(String) Method
    In This Topic
    Creates a new RenderInputComboBoxItem, initializing its Text with the passed string, and adds it to the current collection.
    Syntax
    'Declaration
     
    Public Overloads Function Add( _
       ByVal itemText As String _
    ) As Integer
    public int Add( 
       string itemText
    )

    Parameters

    itemText
    The text of the item to add.

    Return Value

    Index of the added item in the current collection.
    See Also