GetEntityFromComboBoxEntry(Object,Nullable<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 null for the entity ID.
'Declaration
Public Overloads Shared Sub GetEntityFromComboBoxEntry( _
ByVal comboBoxEntry As Object, _
ByRef entID As Nullable(Of Integer), _
ByRef entName As String _
)
public static void GetEntityFromComboBoxEntry(
object comboBoxEntry,
out Nullable<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 null if there is no entity.
- entName
- Output. Returns the name of the entity.