Store Method

Summary
Called by the PACSFramework so that the external store add-in 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 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom.AddIn Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.