## SyntaxNodeCollection&lt;T&gt; class

Represents a collection of syntax nodes.

```java
public class SyntaxNodeCollection<T> : NodeList<T>, IList<T>
    where T : MarkdownSyntaxNode
```

| Parameter | Description |
| --- | --- |
| T | The type of the collection values. |

## Constructors

| Name | Description |
| --- | --- |
| [SyntaxNodeCollection](syntaxnodecollection/)() | The default constructor. |

## Properties

| Name | Description |
| --- | --- |
| [getCount](../../com.aspose.html.toolkit.markdown.syntax/syntaxnodecollection-1/count/) Gets the number of values in the collection. |
| [getIsReadOnly](../../com.aspose.html.toolkit.markdown.syntax/syntaxnodecollection-1/isreadonly/) Get the readonly flag. |
[getItem]
[setItem] Gets or sets the value at the given index. |

## Methods

| Name | Description |
| --- | --- |
| [add](../../com.aspose.html.toolkit.markdown.syntax/syntaxnodecollection-1/add/)(T) | Adds the given item to the collection. |
| [clear](../../com.aspose.html.toolkit.markdown.syntax/syntaxnodecollection-1/clear/)() | Removes all items from the collection. |
| [contains](../../com.aspose.html.toolkit.markdown.syntax/syntaxnodecollection-1/contains/)(T) | Determines whether the given item exists in the collection. |
| [copyTo](../../com.aspose.html.toolkit.markdown.syntax/syntaxnodecollection-1/copyto/)(T[], int) |  |
| [get](../../com.aspose.html.toolkit.markdown.syntax/syntaxnodecollection-1/get/)(int) | Gets the item at the given index. |
| [getEnumerator](../../com.aspose.html.toolkit.markdown.syntax/syntaxnodecollection-1/getenumerator/)() | Gets the values in the collection. |
| [indexOf](../../com.aspose.html.toolkit.markdown.syntax/syntaxnodecollection-1/indexof/)(T) | Gets the index of the given item. |
| [insert](../../com.aspose.html.toolkit.markdown.syntax/syntaxnodecollection-1/insert/)(int, T) | Inserts the given item at the specified index. |
| [remove](../../com.aspose.html.toolkit.markdown.syntax/syntaxnodecollection-1/remove/)(T) | Removes the item from the collection. |
| [removeAt](../../com.aspose.html.toolkit.markdown.syntax/syntaxnodecollection-1/removeat/)(int) | Removes the item at the given index. |
| [writeTo](../../com.aspose.html.toolkit.markdown.syntax/nodelist-1/writeto/)(TextWriter) |  |

### See Also

* class [NodeList&lt;T&gt;](../nodelist-1/)
* class [MarkdownSyntaxNode](../markdownsyntaxnode/)
* package [com.aspose.html.toolkit.markdown.syntax](../../com.aspose.html.toolkit.markdown.syntax/)
* package [Aspose.HTML](../../)
