Stores a JSON and/or XML metadata representation of all DICOM Elements contained in a DicomDataSet.
public void StoreMetadata(
DicomDataSet dicomDataSet,
string sopInstanceUid,
MetadataOptions options,
bool overwrite
)
dicomDataSet
The DicomDataSet that contains all DICOM elements that are saved as metadata.
sopInstanceUid
The SOP Instance UID (0008,0018) of the DicomDataSet. Pass NULL to automatically read the SOPInstanceUID from the DicomDataSet.
options
options that determine the type of metadata saved (XML and/or JSON).
overwrite
if true then overwrite any existing metadata that corresponds to the SOP Instance UID; otherwise do not overwrite existing metadata.
Use this method to save all the DICOM elements in the DicomDataSet as metadata. This method encapsulates the StoreMetadataJson and StoreMetadataXml methods into a single method.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document