Home NodeList Class
NodeList Class
Cancel

NodeList Class

Namespace: Json.Path

Inheritance: NodeList 🡒 object

Implemented interfaces:

  • IEnumerable<Node>
  • IEnumerable

A collection of nodes, generally resulting from an operation or query.

Fields

NameTypeSummary
EmptyNodeListAn empty nodelist.

Properties

NameTypeSummary
CountintGets the number of elements in the collection.
ItemNodeGets the element at the specified index in the read-only list.

Constructors

NodeList(IEnumerable<Node> nodes)

Creates a new nodelist.

Declaration

1
public NodeList(IEnumerable<Node> nodes)
ParameterTypeDescription
nodesIEnumerable<Node>The nodes.

Methods

GetEnumerator()

Returns an enumerator that iterates through the collection.

Declaration

1
public IEnumerator<Node> GetEnumerator()

Returns

An enumerator that can be used to iterate through the collection.

Contents