NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

ListBox.GetSelected

Tells you whether or not the item at the supplied index is selected or not.

[Visual Basic]
Public Function GetSelected( _
   ByVal index As Integer _
) As Boolean
[C#]
public bool GetSelected(
   int index
);
[C++]
public: bool GetSelected(
   int index
);
[JScript]
public function GetSelected(
   index : int
) : Boolean;

Parameters

index
We want to know if this item is selected or not.

Return Value

a boolean indicating whether it is [true] or not [false].

See Also

ListBox Class | ListBox Members | System.WinForms Namespace