> ## 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)：在物件中設定屬性。
