IFieldValue::SetByteArrayValue

Sets the field value. Also sets the field type to SYNC_METADATA_FIELD_TYPE_BYTEARRAY.

HRESULT SetByteArrayValue(
  BYTE * pbValue,
  ULONG cbValue);

Parameters

  • pbValue
    [in, unique, size_is(cbValue)] The value of the field.
  • cbValue
    [in, out] The number of bytes in pbValue.

Return Value

  • S_OK

  • E_POINTER

  • E_OUTOFMEMORY

See Also

Reference

IFieldValue Interface