Visual Basic |
---|
Public Property VM As Long |
This property returns the actual number of items which will be returned by a call to the Attribute’s Value property. If the attribute has zero length, then the value will be 0, and if it is only allowed to have a single value then it will be 1, but for other cases the value depends on the data itself. If the Value property returns an array, then the value of this property equals the upper bound of the array.
If the underlying attribute is a sequence, then this property returns the number of items in the sequence.
Whatever the type of attribute, this provides the upper limit of the permissible index for the ValueByIndex property, and the two are normally used together.