Inserts a new item in the IOD Structure.
public DicomIod Insert(
Public Overloads Function Insert( _
ByVal neighbor As DicomIod, _
ByVal child As Boolean, _
ByVal code As DicomModuleType, _
ByVal name As String, _
ByVal type As DicomIodType, _
ByVal usage As DicomIodUsageType, _
ByVal description As String _
) As DicomIod
contains an item in the IOD Structure. The inserted item will be inserted as a neighbor to this item, or as a child, depending on the value of child.
true to insert the new item as the last child of neighbor, false to insert the new item as the last sibling of neighbor.
The Module Information Object Definitions.
The name of the inserted item
The type of Information Object Definition you are working with.
Indicates whether the Information Object is mandatory, conditional or optional, and the type of usage. For more information on mandatory, conditional and optional usage, refer to An Overview of the DICOM File Format or the DICOM Standard.
The description of the inserted Module Information Object Definition.
DicomIod class containing the newly inserted item.
In this illustration, neighbor points to Item 1 and child is false. The new item is added as the last sibling of Item 1 In this illustration, neighbor points to Item 1 and child is true. The new item is added as the last child of Item 1.
For an example, refer to Reset.