Returns the number of indices on the property returned by the Property object, which is the number of indices required to access the value.
Syntax
object.NumIndices
The object placeholder represents an object expression that evaluates to an object in the Applies To list.
Remarks
The value of NumIndices can have a value from 0 to 4. For normal properties, as in the ForeColor property, NumIndices returns 0. Conventionally indexed properties, such as the List property of a ListBox control, return 1. Property arrays might return a 2.