DicomObjects Reference
DicomObjects Reference / DicomDataSets Collection
Members
In This Topic
    DicomDataSets Collection
    In This Topic
    Description

    This is a true OLE collection, a collection of DicomDataSet objects, such as that returned by a DicomQuery Object’s DoQuery method.

    This data type is also used to represent data elements of the sequence (SQ) type.

    Remarks

    In addition to the above public properties, the DicomDataSets collection also supports the "NewEnumVariant" restricted method.  This allows suitable clients such as Visual Basic to iterate through the DicomDataSet objects it contains using the following syntax:

    Enumeration
    Copy Code
    Dim collection as DicomDataSets 
    Dim dataset as DicomDataSet 
    For each dataset in collection.DataSets 
      MsgBox dataset.name 
    Next

    It is directly creatable, either using Visual Basic’s “CreateObject” method (or equivalent) using the name “DicomObjects.DicomDataSets” or via the DicomViewer’s New method.

    See Also