NUnitForms Class Library

ListBoxTester.SetSelected Method (String, Boolean)

Sets the selected property of an item with a specified string value.

[Visual Basic]
Overloads Public Sub SetSelected( _
   ByVal text As String, _
   ByVal value As Boolean _
)
[C#]
public void SetSelected(
   string text,
   bool value
);

Parameters

text
the item to select (or clear)
value
true if you want to select, false to clear.

See Also

ListBoxTester Class | NUnit.Extensions.Forms Namespace | ListBoxTester.SetSelected Overload List