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 3.5.  | 
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 3.5.  | 
UnlockRegion  | 
Removes the access restriction on a range of bytes previously restricted with ILockBytes::LockRegion. Not supported in SQL Server Compact 3.5.  | 
Stat  | 
Retrieves a STATSTG structure for this byte array object.  |