Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.5.8
|
Leadtools.Dicom.AddIn.Interfaces Namespace > ICrud Interface : StoreDicom Method |
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.
Exception StoreDicom( string filename, DicomDataSet dataset, DicomDataSetSaveFlags saveFlags, bool overwrite, out string token )
'Declaration Function StoreDicom( _ ByVal filename As String, _ ByVal dataset As DicomDataSet, _ ByVal saveFlags As DicomDataSetSaveFlags, _ ByVal overwrite As Boolean, _ ByRef token As String _ ) As Exception
'Usage Dim instance As ICrud Dim filename As String Dim dataset As DicomDataSet Dim saveFlags As DicomDataSetSaveFlags Dim overwrite As Boolean Dim token As String Dim value As Exception value = instance.StoreDicom(filename, dataset, saveFlags, overwrite, token)
Exception^ StoreDicom( String^ filename, DicomDataSet^ dataset, DicomDataSetSaveFlags saveFlags, bool overwrite, [Out] String^ token )
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.null
if successful; otherwise return an appropriate exception. Note that the exception is returned and not thrown.For an example, see the Leadtools.Medical.ExternalStore.Sample.Addin demo located here: <INSTALLDIR>\Examples\PACSFramework\CS\Sample AddIns\Leadtools.Medical.ExternalStore.Sample.Addin