---
title: "SyntaxNodeCollection-1.Clear"
url: "https://reference.aspose.com/html/net/aspose.html.toolkit.markdown.syntax/syntaxnodecollection-1/clear/"
product: "Aspose.HTML for .NET API Reference"
description: "SyntaxNodeCollection Clear method. Removes all items from the collection"
---

## SyntaxNodeCollection<T>.Clear method

Removes all items from the collection.

```csharp
public void Clear()
```

### See Also

* class [SyntaxNodeCollection&lt;T&gt;](../)
* namespace [Aspose.Html.Toolkit.Markdown.Syntax](../../../aspose.html.toolkit.markdown.syntax/)
* assembly [Aspose.HTML](../../../)
