Count Property

Microsoft Graph Visual Basic

Returns the number of objects in the specified collection. Read-only Long.

Example

This example displays the number of chart groups in the chart.

MsgBox "The chart contains " & _
    myChart.ChartGroups.Count & _
    " chart groups."