Item()

XmlNamedNodeMap::Item(int32_t) method

Retrieves the node at the specified index in the XmlNamedNodeMap.

virtual SharedPtr<XmlNode> System::Xml::XmlNamedNodeMap::Item(int32_t index)

Arguments

ParameterTypeDescription
indexint32_tThe index position of the node to retrieve from the XmlNamedNodeMap. The index is zero-based; therefore, the index of the first node is 0 and the index of the last node is XmlNamedNodeMap::get_Count - 1.

Return Value

The XmlNode at the specified index. If index is less than 0 or greater than or equal to the XmlNamedNodeMap::get_Count value, nullptr is returned.

See Also