Share via


ISelectionInfo.IsSelected(Int32) Method

Definition

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.

Applies to