DicomObjects Reference
DicomObjects Reference / DicomDataSets Collection / Count Property
In This Topic
    Count Property
    In This Topic
    Description
    Indicates the number of items in a collection
    Property type
    Read-only property
    Syntax
    Visual Basic
    Public Property Count As Integer
    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