## Remove(*KeyValuePair&lt;string, object&gt;*) {#remove}

Removes the specified key/value pair from the [`MutationObserverInit`](../) collection.

```csharp
public bool Remove(KeyValuePair<string, object> item)
```

| Parameter | Type | Description |
| --- | --- | --- |
| item | KeyValuePair`2 | The item to remove. |

### Return Value

True if successfully removed; otherwise, false.

### See Also

* class [MutationObserverInit](../)
* namespace [Aspose.Html.Dom.Mutations](../../../aspose.html.dom.mutations/)
* assembly [Aspose.HTML](../../../)

---

## Remove(*string*) {#remove_1}

Removes the value associated with the specified key from the [`MutationObserverInit`](../) collection.

```csharp
public bool Remove(string key)
```

| Parameter | Type | Description |
| --- | --- | --- |
| key | String | The key of the element to remove. |

### Return Value

True if the element is successfully found and removed; otherwise, false.

### See Also

* class [MutationObserverInit](../)
* namespace [Aspose.Html.Dom.Mutations](../../../aspose.html.dom.mutations/)
* assembly [Aspose.HTML](../../../)
