> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kasoftware.com/llms.txt
> Use this file to discover all available pages before exploring further.

# arc:unset

> 使用 arc:unset 从对象中删除一个或多个属性，或删除对象本身。

export const siteNameShort = "知行之桥";

`arc:unset` 关键字用于从对象中删除属性，或删除对象本身。

## 参数

* **item**：要从中移除属性的对象。如果未指定对象，则使用默认对象。此参数也可用于移除对象。
* **attr**：要从对象中删除的属性。可以使用 glob 掩码删除多个属性（例如 `*.foo`）。

## 控制属性

无

## 示例

在推出对象之前，从对象中删除属性：

```xml theme={null}
<arc:call op="fileListDir">
  <arc:unset attr="file:size"/>
  <arc:push/>
</arc:call>
```

## 另请参阅

* [arc:set](./op-arc-set)：在对象中设置属性。
