DicomObjects Reference
DicomObjects Reference / DicomLabels Collection / Count Property
In This Topic
    Count Property
    In This Topic
    Description
    The number of items in the collection
    Property type
    Read-only property
    Syntax
    Visual Basic
    Public Property Count As Long
    Remarks
    This is useful both for checking the value of indexes into the collection, and for iterating thought the images numerically, though as all collections in this product provide true iterators (allowing for instance the For Each construct in Visual Basic), this should rarely be necessary in such languages.
    Where it is necessary to iterate through collections by integer index this can be done using ItemByIndex for DicomAttributes collections, and the Item property for the others.
    See Also