SelectEntityInComboBox(ComboBox,Nullable<Int32>) Method
- Last UpdatedNov 06, 2025
- 1 minute read
The SelectEntityInComboBox() method selects the specified entity in the supplied combo box. For this overload of the method, if an empty entry has been added to the combo box, it can be selected by setting the entity ID to null.
'Declaration
Public Overloads Shared Sub SelectEntityInComboBox( _
ByVal comboBox As ComboBox, _
ByVal entID As Nullable(Of Integer) _
)
public static void SelectEntityInComboBox(
ComboBox comboBox,
Nullable<int> entID
)
Parameters
- comboBox
- Required. Holds the combo box containing the entity data.
- entID
- Optional. Holds the ID of the entity to select or null for the empty entry.