In my autocompletecombo I would like to expose the items collection of the internal combobox. How do I do this in vb.net? I'm not sure what type the Items is.
public String GetItem(int index)
{
(String) return combox.items(index); // might need the cast
}
public String SetItem(int index, String value)
{
combobox.items(index) = value;
}
Sorry it's in C# but you probably get the idea! Normally I test code fragments before I post but I haven't actually tried this. I think the cast that might be needed is DirectCast in VB but it is so long since I used it I may have forgotten.