UpdateDicom Method

Summary
Called by the PACSFramework so that the external store add-in can update  dataset on the external store
Syntax
C#
C++/CLI
public Exception UpdateDicom( 
   DataRow row, 
   DicomDataSet dataset, 
   DicomDataSetSaveFlags saveFlags 
) 
Exception^ UpdateDicom(  
   DataRow^ row, 
   DicomDataSet^ dataset, 
   DicomDataSetSaveFlags saveFlags 
)  

Parameters

row
A DataRow containing the external store token

dataset
A DicomDataSet object that contains the Data Set to be updated on the external store

saveFlags
Meta-header flags, Transfer Syntax flags, and other flags that indicate the file characteristics to use when saving the file

Return Value

null if successful; otherwise return an appropriate exception. Note that the exception is returned and not thrown.

Remarks row is a DataRow that represents a row of the 'Instance' table.  row will be passed by the framework, and the corresponding external store token can be extracted by calling:

string token = Leadtools.Medical.Storage.DataAccessLayer.RegisteredDataRows.InstanceInfo.StoreToken(row);

For a demo, refer to Leadtools.Medical.ExternalStore.Sample.Addin located here: <INSTALLDIR>\Examples\Medical\DotNet\SampleAddIns\Medical.ExternalStore.Sample.Addin.

Requirements

Target Platforms

See Also

Reference

ICrud Interface

ICrud Members

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

Leadtools.Dicom.AddIn Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.