NumIndices Property
Applies To
Property object.
Description
Returns the number of indices on the property returned by the Property object.
Remarks
The value of the NumIndices property can be an integer from 0 to 4. For most properties, NumIndices returns 0. Conventionally indexed properties return 1. Property arrays might return 2.
See Also
IndexedValue property, Item method, Object property, Value property.
Example
The following example uses the NumIndices property to return the number of indexes belonging to the specified property of a particular VBComponent object
Debug.Print Application.VBE.VBProjects(1).VBComponents(1).Properties(40). _
NumIndices