←Select platform

StoreMetadataJson Method

Summary

Stores a JSON metadata representation of all DICOM Elements contained in a DicomDataSet.

Syntax
C#
public void StoreMetadataJson( 
   DicomDataSet dicomDataSet, 
   string sopInstanceUid, 
   DicomDataSetSaveJsonFlags flags, 
   bool overwrite 
) 

Parameters

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.

flags

Flags that affect how binary data and other information is saved in the XML output file.

overwrite

If true then overwrite any existing metadata that corresponds to the SOP Instance UID; otherwise do not overwrite existing metadata.

Remarks

Use this method to save all the DICOM elements in the DicomDataSet as XML formatted metadata.

Example

For an example, refer to IStorageDataAccessAgent4.

Requirements

Target Platforms

Help Version 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Medical.Storage.DataAccessLayer Assembly