GetStateDataFromComboBoxEntry Method (ItemStates)Save PDFSave selected topicSave selected topic and subtopicsSave all topicsShareShare to emailCopy topic URLLast UpdatedNov 06, 20251 minute readOperations and ExecutionManufacturing Execution System 2023 R2 Given an entry from a combo box populated with StateData objects, the GetStateDataFromComboBoxEntry() method retrieves the item state code and description.Syntax Visual BasicC# 'Declaration Public Shared Sub GetStateDataFromComboBoxEntry( _ ByVal comboBoxEntry As Object, _ ByRef stateDesc As String, _ ByRef stateCd As Integer _ ) public static void GetStateDataFromComboBoxEntry( object comboBoxEntry, out string stateDesc, out int stateCd ) ParameterscomboBoxEntry Required. Holds a StateData object from a combo box.stateDesc Output. Holds the returned state description.stateCd Output. Holds the returned state code. See AlsoReferenceItemStates ClassItemStates Members In This Topic
Given an entry from a combo box populated with StateData objects, the GetStateDataFromComboBoxEntry() method retrieves the item state code and description.Syntax Visual BasicC# 'Declaration Public Shared Sub GetStateDataFromComboBoxEntry( _ ByVal comboBoxEntry As Object, _ ByRef stateDesc As String, _ ByRef stateCd As Integer _ ) public static void GetStateDataFromComboBoxEntry( object comboBoxEntry, out string stateDesc, out int stateCd ) ParameterscomboBoxEntry Required. Holds a StateData object from a combo box.stateDesc Output. Holds the returned state description.stateCd Output. Holds the returned state code. See AlsoReferenceItemStates ClassItemStates Members
Given an entry from a combo box populated with StateData objects, the GetStateDataFromComboBoxEntry() method retrieves the item state code and description.Syntax Visual BasicC# 'Declaration Public Shared Sub GetStateDataFromComboBoxEntry( _ ByVal comboBoxEntry As Object, _ ByRef stateDesc As String, _ ByRef stateCd As Integer _ ) public static void GetStateDataFromComboBoxEntry( object comboBoxEntry, out string stateDesc, out int stateCd ) ParameterscomboBoxEntry Required. Holds a StateData object from a combo box.stateDesc Output. Holds the returned state description.stateCd Output. Holds the returned state code. See AlsoReferenceItemStates ClassItemStates Members
Given an entry from a combo box populated with StateData objects, the GetStateDataFromComboBoxEntry() method retrieves the item state code and description.Syntax Visual BasicC# 'Declaration Public Shared Sub GetStateDataFromComboBoxEntry( _ ByVal comboBoxEntry As Object, _ ByRef stateDesc As String, _ ByRef stateCd As Integer _ ) public static void GetStateDataFromComboBoxEntry( object comboBoxEntry, out string stateDesc, out int stateCd ) ParameterscomboBoxEntry Required. Holds a StateData object from a combo box.stateDesc Output. Holds the returned state description.stateCd Output. Holds the returned state code. See AlsoReferenceItemStates ClassItemStates Members