Method GetSelectedPosition
GetSelectedPosition(ComboBox, object)
Finds position in source code related to the currently selected item in the ComboBox control.
public static Point GetSelectedPosition(ComboBox comboBox, object document)
Parameters
comboBoxComboBoxComboBox contains list of syntax elements (classes or methods).
documentobjectSource code document.
Returns
- Point
System.Draw.Point represents start point of current syntax element.