DicomObjects Reference
DicomObjects Reference / DicomDataSets Collection / IndexOf Method
The object to be located.
In This Topic
    IndexOf Method
    In This Topic
    Description
    Identifes position of an item in a collection
    Syntax
    Visual Basic
    Public Function IndexOf( _
       ByVal Object As DicomDataSet _
    ) As Long
    Parameters
    Object
    The object to be located.
    Remarks
    The value returned locates the first occurrence of the specified object within the collection.  In the case of DicomImages, DicomDataSets or DicomLabels collections, the reference may be to an object derived from the same source, as such objects may be cloned when added to collections.
    See Also