Recursive use of this property and the datasets contained within it allows representation and manipulation of the hierarchical structure of a DICOMDIR file. The Children property exists for all DicomDataSet objects, but is only created by AddToDirectory and is used by Write method. There are normally five levels, the objects representing the DICOMDIR file itself, and the four hierarchical levels PATIENT, STUDY, SERIES and IMAGE.