StoreDicom Method

Summary
Called by the PACSFramework so that the external store add-in can store  dataset to the external store
Syntax
C#
C++/CLI
public Exception StoreDicom( 
   string filename, 
   DicomDataSet dataset, 
   DicomDataSetSaveFlags saveFlags, 
   bool overwrite, 
   out string token 
) 
Exception^ StoreDicom(  
   String^ filename, 
   DicomDataSet^ dataset, 
   DicomDataSetSaveFlags saveFlags, 
   bool overwrite, 
   [Out] String^ token 
)  

Parameters

filename
The full path where 'dataset' would be stored if storing locally

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

saveFlags
flags that indicate the file characteristics to use when saving the file to the external store.

overwrite
true indicates that if the file already exists in the external store, it should be overwritten. false indicates that if the file already exists, it should not be overwritten.

token
a unique string value that is used to later retrieve the data from the external store

Return Value

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

Remarks

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.