DB2Blob Members
Represents the BLOB Db2® data type. Encapsulates the byte[] .NET data type. The following tables list the members that are exposed by the DB2Blob class.
| Public Field | Description |
|---|---|
Null |
Null value for DB2Blob. |
| Public Constructor | Description |
|---|---|
DB2®Blob(byte[] value) |
Initializes a new DB2Blob object with the specified byte array. |
DB2Blob(DB2Connection conn) |
Initializes a new DB2Blob object that is associated with a specified connection. |
| Public Property | Description |
|---|---|
CacheData |
Indicates if the data stored in the DB2Blob instance's current cursor position is being cached. |
EstimatedSize |
Gets or sets the estimated final size of the DB2Blob object. |
IsNull |
Gets a value that indicates if the value that is stored in the DB2Blob object is null. |
IsOpen |
Gets a value that indicates whether the DB2Blob instance is open. |
Size |
Gets the current size of the DB2Blob object in bytes. |
Value |
Gets the value that is stored in the DB2Blob object. |
| Public Method | Description |
|---|---|
GetBytes |
Reads a stream of bytes from the specified column offset into the buffer as an array, starting at the given buffer offset. |
Read(byte[] buff) |
Read bytes from the BLOB object represented by the DB2Blob instance. |
Read(byte[] buff,
Int64 byteOffset, Int64 numBytesToRead, Int64 smartLobOffset, DB2SmartLOBWhence
whence) |
Read bytes from the BLOB object represented by the DB2Blob instance. |
ToString |
Returns a string that represents the DB2Blob structure. |