---
title: "System::Xml::XmlElement::get_NodeType method"
url: "https://reference.aspose.com/font/cpp/system.xml/xmlelement/get_nodetype/"
product: "Aspose.Font for C++"
description: "System::Xml::XmlElement::get_NodeType method. Returns the type of the current node in C++."
---

## XmlElement::get_NodeType method


Returns the type of the current node.

```cpp
XmlNodeType System::Xml::XmlElement::get_NodeType() override
```


### ReturnValue

The node type. For [XmlElement](../) nodes, this value is [XmlNodeType::Element](../../xmlnodetype/).

## See Also

* Enum [XmlNodeType](../../xmlnodetype/)
* Class [XmlElement](../)
* Namespace [System::Xml](../../)
* Library [Aspose.Font for C++](../../../)
