Property :: collectionSize - Collection size property
The collection size property returns the maximum number of instances that can be stored for the property. For collection properties with undefined number of instances the function return 0. For attribute arrays, the property returns the array size.
In case of an error the function throws an exception.
Return value: Dimension ( int32 )
The dimension describes the property dimension. this is the maximum number of instances that can be stored for the property. The function returns 0 (UNDEF) if there is no limit (collection) or the dimension (cardinality) defined for the property.