This member function sets the value of a binary large object (BLOB) property (CCeDBProp::Type_Blob).
Syntax
void SetBlob( CEBLOB blob, UINT nMode = Copy );
At a Glance
Header file:
Wcedb.h
Platforms:
Versions:
2.0 and later
Parameters
blob
An initialized CEBLOB structure.
nMode
A flag that specifies whether to allocate memory to store the passed in CEBLOB structure. This parameter can have one of the following values.
CCeDBProp::Copy
Creates a copy of the data buffer pointed to by the lpb member of the CEBLOB passed in the blob parameter. This memory is released when the CCeDBProp object is destroyed.
CCeDBProp::NoCopy
The property maintains a pointer to the same data buffer pointed to by lpb member of the CEBLOB passed in the blob parameter, but doesn't own it. The memory is not released when the CCeDBProp object is destroyed.
Return Values
This member function has no return value.
Remarks
The blob parameter must be properly initialized.
You can only call SetBlob on a property of the type CeDBProp::Type_Blob.