PopulateComboBoxWithItemStates Method
- Last UpdatedNov 06, 2025
- 1 minute read
The ComboBoxWithItemStates() method populates the specified combo box with item state descriptions
'Declaration
Public Shared Sub PopulateComboBoxWithItemStates( _
ByVal cboStates As ComboBox, _
ByVal includeEmptyDesc As Boolean _
)
public static void PopulateComboBoxWithItemStates(
ComboBox cboStates,
bool includeEmptyDesc
)
Parameters
- cboStates
- Required. Holds the combo box to populate.
- includeEmptyDesc
- Required. Holds a flag that, if set to true, specifies that an empty entry be placed at the beginning of the combo box.