The default DICOM Context Group table is a large table with many entries. When the DICOM library is initally loaded, the DICOM Context Group Table is not initally loaded. It will be automatically loaded the first time it is accessed. Specifically, the first call to any of the following methods will cause the automatic load of the default DICOM Context Group table (if it has NOT already been loaded):
- DicomContextGroupTable.GetFirst
- DicomContextGroupTable.GetLast
- DicomContextGroupTable.GetNext
- DicomContextGroupTable.GetPrevious
- DicomContextGroupTable.Count
- DicomContextGroupTable.Find
- DicomContextGroupTable.FindIndex
- DicomContextGroupTable.Insert
- DicomContextGroupTable.Delete
- DicomContextGroupTable.Exists
- DicomContextGroupTable.GetFirstCodedConcept
- DicomContextGroupTable.GetLastCodedConcept
- DicomContextGroupTable.GetNextCodedConcept
- DicomContextGroupTable.GetPreviousCodedConcept
- DicomContextGroupTable.GetContextGroup
- DicomContextGroupTable.GetCodedConceptCount
- DicomContextGroupTable.FindCodedConcept
- DicomContextGroupTable.SetCodeMeaning
- DicomContextGroupTable.InsertCodedConcept
- DicomContextGroupTable.DeleteCodedConcept
- DicomContextGroupTable.ExistsCodedConcept
To disable the automatic load of the Default DICOM Context Group table, call any of the following methods in your initialization code (before calling any other DICOM methods):
Therefore, to prevent the default DICOM Context Group Table from automatically loading, call DicomContextGroupTable.Instance.Reset in your application initialization code.