// // Summary: // Adds an item to the list of items for a System.Windows.Forms.CheckedListBox, // specifying the object to add and the initial checked value. // // Parameters: // item: // An object representing the item to add to the collection. // // check: // The initial System.Windows.Forms.CheckState for the checked portion of the // item. // // Returns: // The index of the newly added item. // // Exceptions: // System.ComponentModel.InvalidEnumArgumentException: // The check parameter is not one of the valid System.Windows.Forms.CheckState // values. public static int Add(this CheckedComboBox cmbBox, object item, CheckState check) { return(0); }
// Summary: // Adds an item to the list of items for a System.Windows.Forms.CheckedListBox, // specifying the object to add and whether it is checked. // // Parameters: // item: // An object representing the item to add to the collection. // // isChecked: // true to check the item; otherwise, false. // // Returns: // The index of the newly added item. public static int Add(this CheckedComboBox cmbBox, object item, bool isChecked) { return(0); }