DatabaseConnectionOpenBlob Method |
Opens the blob located by the
ColumnInfo and rowid for incremental I/O as a
Stream.
Namespace: SQLitePCL.prettyAssembly: SQLitePCL.pretty (in SQLitePCL.pretty.dll) Version: 1.0.0.0 (1.0.0)
Syntax public static Stream OpenBlob(
this IDatabaseConnection This,
ColumnInfo columnInfo,
long rowId,
bool canWrite
)
[<ExtensionAttribute>]
static member OpenBlob :
This : IDatabaseConnection *
columnInfo : ColumnInfo *
rowId : int64 *
canWrite : bool -> Stream
Parameters
- This
- Type: SQLitePCL.prettyIDatabaseConnection
The database connection. - columnInfo
- Type: SQLitePCL.prettyColumnInfo
The ColumnInfo of the blob value. - rowId
- Type: SystemInt64
The row containing the blob. - canWrite
- Type: SystemBoolean
if the Stream should be open for both read and write operations.
if the Stream should be open oly for read operations.
Return Value
Type:
StreamA
Stream that can be used to synchronously write and read to and from blob.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IDatabaseConnection. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also