scripting:api:list-items:count

Count

Property of IListItems

Returns number of items in collection

Read-Only Property of type long

var nVal = ListItems.Count;
nVal = ListItems.Count
long nVal;
HRESULT hr = ListItems.get_Count(&nVal);