Load the specified file data into a memory stream.
If no records are found then the stream object will be created, but will be empty.
If multiple records are found then data will be loaded from the first record only.
Namespace:
NetQuarry
Assembly:
EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax MemoryStream LoadFile(
string column,
string table,
string where,
DataFuncOptions options,
string logSource
)
Function LoadFile (
column As String,
table As String,
where As String,
options As DataFuncOptions,
logSource As String
) As MemoryStream
Parameters
- column
- Type: SystemString
The name of the column from which to retrieve the data. - table
- Type: SystemString
The name of the table from which to retrieve the data. - where
- Type: SystemString
Filter criteria for record to retrieve. - options
- Type: NetQuarryDataFuncOptions
Option flags affecting the operation. - logSource
- Type: SystemString
The source of the operation, to be logged to the devlog.
Return Value
Type:
MemoryStreamA memory stream with the file data (or an empty stream if no matching record found).
See Also