StoreDicom Method

Summary

Called by the PACSFramework so that the external store add-in can store dataset to the external store

Syntax
C#
VB
C++
public Exception StoreDicom( 
   string filename, 
   DicomDataSet dataset, 
   DicomDataSetSaveFlags saveFlags, 
   bool overwrite, 
   out string token 
) 
  
Function StoreDicom( _ 
   ByVal filename As String, _ 
   ByVal dataset As DicomDataSet, _ 
   ByVal saveFlags As DicomDataSetSaveFlags, _ 
   ByVal overwrite As Boolean, _ 
   ByRef token As String _ 
) As Exception 
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 an example, see the Leadtools.Medical.ExternalStore.Sample.Addin demo located here: <INSTALLDIR>\Examples\PACSFramework\CS\Sample AddIns\Leadtools.Medical.ExternalStore.Sample.Addin

Requirements

Target Platforms

See Also

Reference

ICrud Interface

ICrud Members

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

Leadtools.Dicom.AddIn Assembly