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#
C++/CLI
public Exception Store( 
   string filename, 
   bool overwrite, 
   out string token 
) 
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 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 a demo, refer to Leadtools.Medical.ExternalStore.Sample.Addin located here: <INSTALLDIR>\Examples\Medical\DotNet\SampleAddIns\Medical.ExternalStore.Sample.Addin.

Requirements

Target Platforms

See Also

Reference

ICrud Interface

ICrud Members

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

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