Table of Contents

Method SelectItem

Namespace
Alternet.Editor.Roslyn
Assembly
Alternet.Editor.Roslyn.v10.dll

SelectItem(ComboBox, object, out Point)

Finds position of the syntax element linked to the currently selected item in the ComboBox control.

public static bool SelectItem(ComboBox comboBox, object document, out Point position)

Parameters

comboBox ComboBox

ComboBox to process.

document object

Source code document.

position Point

Receives start point of currently selected syntax element.

Returns

bool

True if succeed; otherwise false.