====== Selected ======
Property of [[:scripting:api:list-item:start|IListItem]]
===== Description =====
Selected property
===== Property type =====
Read-Write Property of type **[[scripting:api:data-type:VARIANT_BOOL|VARIANT_BOOL]]**
===== Syntax =====
==== JavaScript ====
var bVal = ListItem.Selected;
ListItem.Selected = bVal;
==== Visual Basic Script ====
bVal = ListItem.Selected
ListItem.Selected = bVal
==== C++ ====
VARIANT_BOOL bVal;
HRESULT hr = ListItem.get_Selected(&bVal);
hr = ListItem.put_Selected(bVal);
===== See Also =====
[[:scripting:api:list-item:start|IListItem]]
~~NOTOC~~