Allows the user to set an item as being selected or not. This should only be used with ListBoxes that allow some sort of multi-selection.
[Visual Basic] Public Sub SetSelected( _ ByVal index As Integer, _ ByVal value As Boolean _ ) [C#] public void SetSelected( int index, bool value ); [C++] public: void SetSelected( int index, bool value ); [JScript] public function SetSelected( index : int, value : Boolean );