RetrieveFile Method

Summary

Called by the PACSFramework to retrieve the file specified by row from the external store to the local store

Syntax
C#
VB
C++
public Exception RetrieveFile( 
   DataRow row, 
   string outFile 
) 
  
Function RetrieveFile( _ 
   ByVal row As DataRow, _ 
   ByVal outFile As String _ 
) As Exception 
Exception^ RetrieveFile(  
   DataRow^ row, 
   String^ outFile 
)  

Parameters

row
A DataRow containing the external store token

outFile
The fully specified local store location where the external store file should be copied

Return Value

null if successful; otherwise return an appropriate exception. Note that the exception is returned and not thrown.

Remarks

row is a DataRow that represents a row of the 'Instance' table. row will be passed by the framework, and the corresponding external store token can be extracted by calling:

string token = Leadtools.Medical.Storage.DataAccessLayer.RegisteredDataRows.InstanceInfo.StoreToken(row);

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 20.0.2020.5.27
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom.AddIn Assembly