Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

ILockBytes (SQL Server Compact)

ILockBytes is a structured storage interface used for accessing long text and long binary data.

Method

Description

ReadAt

Reads a specified number of bytes starting at a specified offset from the beginning of the byte array.

WriteAt

Writes a specified number of bytes to a specified location in the byte array.

Flush

Ensures that any internal buffers maintained by the byte array object are written out to the backing storage. Not supported in SQL Server Compact 4.0.

SetSize

Changes the size of the byte array.

LockRegion

Restricts access to a specified range of bytes in the byte array. Not supported in SQL Server Compact 4.0.

UnlockRegion

Removes the access restriction on a range of bytes previously restricted with ILockBytes::LockRegion. Not supported in SQL Server Compact 4.0.

Stat

Retrieves a STATSTG structure for this byte array object.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.