Skip to main content

RemoveAttachment

原型

void RemoveAttachment(unsigned objId, const QString& name);

功能

移除指定对象中的一个命名附件。

参数

  • objId : 要移除命名附件的对象的id。
  • name : 要移除的命名附件的名称。

返回值

示例

mpl::RemoveAttachment(10243, "photo");