| BoSearchKey Enumeration | |
| See Also |
Indicates how the Select and SelectExclusive methods of the ComboBox object locates items within its valid values.
| Member | Value | Description |
|---|---|---|
| psk_ByValue | 0 | By item value |
| psk_ByDescription | 1 | By item description |
| psk_Index | 2 | By item index |
If by description is specified, the method returns the first value found (the description is not necessarily unique).
If by value is specified and no value is found, a search by description is automatically performed. If by description is specified and no value is found, a search by value is automatically performed. In both cases, if the second search fails, an exception is thrown.
If by index is specified with a bad index, an exception is thrown.