Show pageOld revisionsBacklinksAdd to bookBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== 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 ==== <code javascript> var bVal = ListItem.Selected; ListItem.Selected = bVal; </code>==== Visual Basic Script ==== <code vb> bVal = ListItem.Selected ListItem.Selected = bVal </code>==== C++ ==== <code cpp> VARIANT_BOOL bVal; HRESULT hr = ListItem.get_Selected(&bVal); hr = ListItem.put_Selected(bVal); </code>===== See Also ===== [[:scripting:api:list-item:start|IListItem]] ~~NOTOC~~