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
comboBox
ComboBoxComboBox contains list of syntax elements (classes or methods).
document
objectSource code document.
Returns
- Point
System.Draw.Point represents start point of current syntax element.