←Select platform

StoreDicom Method

Summary

Called by the PACSFramework so that the external store addin can store dataset to the external store

Syntax

C#
VB
C++
Exception StoreDicom(  
   string filename, 
   Leadtools.Dicom.DicomDataSet dataset, 
   Leadtools.Dicom.DicomDataSetSaveFlags saveFlags, 
   bool overwrite, 
   out string token 
) 
Function StoreDicom( _ 
   ByVal filename As String, _ 
   ByVal dataset As Leadtools.Dicom.DicomDataSet, _ 
   ByVal saveFlags As Leadtools.Dicom.DicomDataSetSaveFlags, _ 
   ByVal overwrite As Boolean, _ 
   ByRef token As String _ 
) As Exception 
Exception^ StoreDicom(  
   String^ filename, 
   Leadtools.Dicom.DicomDataSet^ dataset, 
   Leadtools.Dicom.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

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Dicom.AddIn Assembly
Click or drag to resize