SyntaxNodeCollectionT Class

SyntaxNodeCollection<T> class

Represents a collection of syntax nodes.

public class SyntaxNodeCollection<T> : NodeList<T>, IList<T>
    where T : MarkdownSyntaxNode
ParameterDescription
TThe type of the collection values.

Constructors

NameDescription
SyntaxNodeCollection()The default constructor.

Properties

NameDescription
override Count { get; }Gets the number of values in the collection.
IsReadOnly { get; }Get the readonly flag.
Item { get; set; }Gets or sets the value at the given index.

Methods

NameDescription
Add(T)Adds the given item to the collection.
Clear()Removes all items from the collection.
Contains(T)Determines whether the given item exists in the collection.
CopyTo(T[], int)
override Get(int)Gets the item at the given index.
override GetEnumerator()Gets the values in the collection.
IndexOf(T)Gets the index of the given item.
Insert(int, T)Inserts the given item at the specified index.
Remove(T)Removes the item from the collection.
RemoveAt(int)Removes the item at the given index.
WriteTo(TextWriter)

See Also