PopulateEntityComboBox(ComboBox,Boolean) Method
- Last UpdatedNov 06, 2025
- 1 minute read
This overload of the PopulateEntityComboBox() method populates the specified combo box with the data in the Ent table. It includes an empty entry in the combo box, if requested. Each entity is added as an entity object to the combo box. The entity object includes the entity name and the entity ID. The name is displayed in the combo box. A flag indicates whether an empty entry should be added to the combo box
'Declaration
Public Overloads Shared Sub PopulateEntityComboBox( _
ByVal comboBox As ComboBox, _
ByVal includeEmptyEntName As Boolean _
)
public static void PopulateEntityComboBox(
ComboBox comboBox,
bool includeEmptyEntName
)
Parameters
- comboBox
- Required. Holds the combo box to populate.
- includeEmptyEntName
- Required. Holds a flag that, if set to true, indicates that an empty entry should be added to the combo box.