ComponentOne ReportViewer for ASP.NET Web Forms
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 System.String _
    ) As System.Integer
    public System.int Add( 
       System.string itemText
    )

    Parameters

    itemText
    The text of the item to add.

    Return Value

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