Extract a BLOB value from the reader and write to a file.
Namespace:
NetQuarry
Assembly:
EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax public static bool BlobToFile(
IDataReader reader,
int nPictureColIdx,
string sDestFilePath,
int nPrefixByteCount
)
Public Shared Function BlobToFile (
reader As IDataReader,
nPictureColIdx As Integer,
sDestFilePath As String,
nPrefixByteCount As Integer
) As Boolean
Parameters
- reader
- Type: System.DataIDataReader
The reader. - nPictureColIdx
- Type: SystemInt32
The index of the column within the reader. - sDestFilePath
- Type: SystemString
The path to which to write the file. - nPrefixByteCount
- Type: SystemInt32
The offset, in bytes, to the start of image data (generally 0).
Return Value
Type:
BooleanTrue if successfully read, else False.
See Also