←Select platform

StoreMetadata Method

Summary

Stores a JSON and/or XML metadata representation of all DICOM Elements contained in a DicomDataSet.

Syntax
C#
public void StoreMetadata( 
   DicomDataSet dicomDataSet, 
   string sopInstanceUid, 
   MetadataOptions options, 
   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.

options

options that determine the type of metadata saved (XML and/or JSON).

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 metadata. This method encapsulates the StoreMetadataJson and StoreMetadataXml methods into a single method.

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