←Select platform

StoreMetadataJson Method

Summary

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

Syntax
C#
VB
C++
public void StoreMetadataJson( 
   DicomDataSet dicomDataSet, 
   string sopInstanceUid, 
   DicomDataSetSaveJsonFlags flags, 
   bool overwrite 
) 
Public Sub StoreMetadataJson( 
   ByVal dicomDataSet As DicomDataSet, 
   ByVal sopInstanceUid As String, 
   ByVal flags As DicomDataSetSaveJsonFlags, 
   ByVal overwrite As Boolean 
) 
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 corresponding 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 21.0.2021.6.30
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Medical.Storage.DataAccessLayer Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.