scripting:api:labels:count

Count

Property of ILabels

Returns number of items in collection

Read-Only Property of type long

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