IFieldValue::SetStringValue

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

HRESULT SetStringValue(
  LPCWSTR pcszValue);

Parameters

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

Return Value

  • S_OK

  • E_POINTER

  • E_OUTOFMEMORY

See Also

Reference

IFieldValue Interface