Constant | BLOB field value location | Argument blobSrcLocationVARIANT | Argument blobDestLocationVARIANT |
gdbBLOBStream | The value of BLOB field is retrieved or saved from/to a stream. The stream is specified by the IStream interface. | The blobSrcLocationVARIANT argument must contain a pointer to an interface (through which the stream interface IStream can be retrieved), VT_NULL, or VT_EMPTY. If the blobSrcLocationVARIANT equals VT_NULL or VT_EMPTY, a BLOB field will contain NULL.The BLOB field value is set starting from the current position of a stream. | The blobDestLocationVARIANT must contain a pointer to an interface (through which the stream interface IStream can be retrieved), VT_NULL, or VT_EMPTY.If the blobDestLocationVARIANT equals VT_NULL or VT_EMPTY before calling the Field::PutTo method, a stream is created in global memory and the BLOB field value is saved to this stream. The blobDestLocationVARIANT argument returns a pointer to the IUnknown interface of created stream.The BLOB field value is saved starting from the current position of a stream.If the blobDestLocationVARIANT equals VT_NULL after calling the Field::PutTo method, the value of BLOB field is NULL. |
| gdbBLOBArray | The BLOB field value is retrieved/saved from/to a byte array. | The blobSrcLocationVARIANT argument must contain a SAFEARRAY with elements of type VT_UI1, VT_NULL, or VT_EMPTY.If the blobSrcLocationVARIANT equals VT_NULL or VT_EMPTY, a BLOB field will contain NULL.The BLOB field value is set starting from the first element of array. | The blobDestLocationVARIANT argument must contain a SAFEARRAY with elements of type VT_UI1, VT_NULL, or VT_EMPTY.If the blobDestLocationVARIANT equals VT_NULL or VT_EMPTY before calling the Field::PutTo method, a SAFEARRAY with elements of type VT_UI1 is created and the BLOB field value is saved to this array. The blobDestLocationVARIANT argument returns the created array.The BLOB field value is saved starting from the first element of array.If the blobDestLocationVARIANT equals VT_NULL after calling the Field::PutTo method, the value of BLOB field is NULL. |
gdbBLOBFile | The BLOB field value is retrieved/saved from/to a file. | The blobSrcLocationVARIANT argument must contain a string of VT_BSTR type (that specifies the path and name of a file that contains the BLOB field value), VT_NULL, or VT_EMPTY. If the blobSrcLocationVARIANT equals VT_NULL or VT_EMPTY, a BLOB field will contain NULL. The BLOB field value is set starting from the initial position in a file. | The blobDestLocationVARIANT argument must contain a string (of VT_BSTR type) that specifies the path and name of a file in which the BLOB field value is saved. The BLOB field value is saved starting from the initial position in a file. If the blobDestLocationVARIANT equals VT_NULL after calling the Field::PutTo method, the value of BLOB field is NULL. |