idx_get()

XmlNodeList::idx_get(int32_t) method

Returns a node at the given index.

virtual SharedPtr<XmlNode> System::Xml::XmlNodeList::idx_get(int32_t i)

Arguments

ParameterTypeDescription
iint32_tThe zero-based index into the list of nodes.

Return Value

The XmlNode with the specified index in the collection. If index is greater than or equal to the number of nodes in the list, this returns nullptr.

See Also