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
getCount Gets the number of values in the collection.
getIsReadOnly Get the readonly flag.
[getItem]
[setItem] 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)
get(int)Gets the item at the given index.
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