System::Xml::XmlNamedNodeMap class
Contents
[
Hide
]XmlNamedNodeMap class
Represents a collection of nodes that can be accessed by name or index.
class XmlNamedNodeMap : public System::Collections::Generic::IEnumerable<SharedPtr<System::Xml::XmlNode>>
Methods
Method | Description |
---|---|
begin() const | Gets iterator to the first element of collection. |
cbegin() const | Gets iterator to the first element of collection. |
cend() const | Gets iterator for a non-existent element behind the last element of the collection. |
end() const | Gets iterator for a non-existent element behind the last element of the collection. |
virtual get_Count() | Returns the number of nodes in the XmlNamedNodeMap. |
GetEnumerator() override | Provides support for iteration over the collection of nodes in the XmlNamedNodeMap. |
virtual GetNamedItem(String) | Retrieves an XmlNode specified by name. |
virtual GetNamedItem(String, String) | Retrieves a node with the matching XmlNode::get_LocalName and XmlNode::get_NamespaceURI values. |
virtual Item(int32_t) | Retrieves the node at the specified index in the XmlNamedNodeMap. |
virtual RemoveNamedItem(String) | Removes the node from the XmlNamedNodeMap. |
virtual RemoveNamedItem(String, String) | Removes a node with the matching XmlNode::get_LocalName and XmlNode::get_NamespaceURI values. |
virtual SetNamedItem(SharedPtr<XmlNode>) | Adds an XmlNode using its XmlNode::get_Name value. |
Typedefs
Typedef | Description |
---|---|
Ptr | An alias for shared pointer to an instance of this class. |
iterator | Iterator type. |
Remarks
Objects of this class should only be allocated using System::MakeObject() function. Never create instances of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.
See Also
- Class IEnumerable
- Namespace System::Xml
- Library Aspose.Font for C++