←Select platform

Store Method

Summary

Called by the PACSFramework so that the external store addin can store the local file filename to the external store

Syntax

C#
VB
C++
public Exception Store( 
   string filename, 
   bool overwrite, 
   out string token 
) 
  
Function Store( _ 
   ByVal filename As String, _ 
   ByVal overwrite As Boolean, _ 
   ByRef token As String _ 
) As Exception 
Exception^ Store(  
   String^ filename, 
   bool overwrite, 
   [Out] String^ token 
)  

Parameters

filename
The full path of the file to be stored

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 unqiue 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 19.0.2017.10.28
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom.AddIn Assembly