ListView.SelectItem Method (Typed) | |
Select or deselect a specific item in a list view.
Namespace:
XSharp.VO.SDK
Assembly:
XSharp.VOGUIClasses (in XSharp.VOGUIClasses.dll) Version: 2.21
Syntax VIRTUAL METHOD SelectItem(
nItem AS LONG,
lSelect AS LOGIC
) AS LOGIC
public virtual bool SelectItem(
int nItem,
[DefaultParameterValueAttribute(true, 0)] bool lSelect
)
Request Example
View SourceParameters
- nItem
- Type: Long
Index of the list view items in the list view to be selected or deselected. - lSelect
- Type: Logic
Select (TRUE) or deselect (FALSE) the item in the list view. The default setting is TRUE.
Return Value
Type:
Logic
TRUE if the list view item was selected; otherwise, FALSE.
See Also