Reads a dataset from a DICOMDIR file
Visual Basic |
---|
Public Function ReadDirectory( _ ByVal FileName As String _ ) As DicomDataSet |
This method is used for reading the “DICOMDIR” files used on exchangeable media. Although such files could simply be read using ReadFile, the item offset information necessary for interpretation of the hierarchical directory structure would be lost. This method preserves such information, placing a copy of each of the entries in the root directory in the Children collection of the returned dataset. Likewise, levels below the root are also represented by the Children property of the level above.
The file may have been written by the WriteDirectory method or by other DICOM software.
See the security page for details of restrictions on this method.