IFieldValue::SetStringValue

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


HRESULT SetStringValue(
  LPCWSTR pcszValue);

pcszValue

[in, unique, string] The value of the field.

  • S_OK

  • E_POINTER

  • E_OUTOFMEMORY

Show: