GetEntityFromComboBoxEntry(Object,Int32,String) Method
- Last UpdatedNov 06, 2025
- 1 minute read
The GetEntityFromComboBoxEntry() method retrieves the entity ID and entity name for the entity selected in the combo box. For this overload of the method, if no entity is selected, it returns a -1 for the entity ID.
public static void GetEntityFromComboBoxEntry(
object comboBoxEntry,
out int entID,
out string entName
)
Parameters
- comboBoxEntry
- Required. Holds the EntityComboBoxData entry from the combo box.
- entID
- Output. Returns the ID of the entity, or -1 if there is no entity.
- entName
- Output. Returns the name of the entity.