GetShiftDataFromComboBoxEntry Method
- Last UpdatedNov 06, 2025
- 1 minute read
The GetShiftDataFromComboBoxEntry() method passes a ShiftData object from a combo box that was populated via the PopulateComboBoxWithShiftDescs() method and retrieves the shift's ID and description.
public static void GetShiftDataFromComboBoxEntry(
object comboBoxEntry,
out string shiftDesc,
out int shiftID
)
Parameters
- comboBoxEntry
- Required. Holds the ShiftData object from a combo box for which the shift description and ID are being retrieved.
- shiftDesc
- Output. Holds the retrieved shift description for the specified combo box entry.
- shiftID
- Output. Holds the retrieved shift ID for the specified combo box entry.