ArcGIS Pro 3.1 API Reference Guide
ArcGIS.Desktop.Framework.Contracts Namespace / ComboBox Class / Insert Method
The zero-based index at which item should be inserted.
The item being added to the combo box.

In This Topic
    Insert Method (ComboBox)
    In This Topic
    Inserts an element into the collection at the specified index.
    Syntax
    protected void Insert( 
       int index,
       object item
    )
    Protected Sub Insert( _
       ByVal index As Integer, _
       ByVal item As Object _
    ) 

    Parameters

    index
    The zero-based index at which item should be inserted.
    item
    The item being added to the combo box.
    Remarks

    All items added to the ItemCollection must be created on the main UI thread as these ultimately become UI content.

    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.0 or higher.
    See Also