DicomObjects Reference
DicomObjects Reference / DicomDataSets Collection / Remove Method
Either:
a) An integer referencing the image by its position in the collection, starting at 1.
or
b) A String referencing the Instance UID of the Image/DataSet.
In This Topic
    Remove Method
    In This Topic
    Description
    Removes a DicomDataSet from a DicomDataSets Collection
    Syntax
    Visual Basic
    Public Sub Remove( _
       ByVal Index As Variant _
    ) 
    Parameters
    Index
    Either:
    a) An integer referencing the image by its position in the collection, starting at 1.
    or
    b) A String referencing the Instance UID of the Image/DataSet.
    Remarks
    The index is a variant as images or datasets may be referred to either by numerical sequence (as used for CurrentIndex), but also by their unique instance UID.  An exception is generated if either a numerical argument is out of bounds, or if reference is made to a non-existent instance UID.
    See Also