ISelectionInfo.IsSelected(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides info about whether the item in the data source at the specified index is selected in the list control.
public:
bool IsSelected(int index);
bool IsSelected(int const& index);
public bool IsSelected(int index);
function isSelected(index)
Public Function IsSelected (index As Integer) As Boolean
Parameters
- index
-
Int32
int
The index of an item in the data source.
Returns
Boolean
bool
true if the item in the data source at the specified index is selected in the list control; otherwise, false.