SetBytes
Applies to: SharePoint Foundation 2010
Writes a new property value as binary data.
HRESULT SetBytes(
LPCSTR szName,
uint cbVal,
BYTE *pbVal
);
Parameters
szName
The name of the document property.
cbVal
The size, in bytes, of the new value.
pbVal
A pointer to the location at which to start reading the new value.
Return Value
The method returns typical HRESULT values. In general, it should return a positive OK value when successful or a negative FAIL value when unsuccessful.