XamlObjectReader.NodeType Property

Definition

Gets the type of the current node.

C#
public override System.Xaml.XamlNodeType NodeType { get; }

Property Value

The type of the current node.

Remarks

When using the XamlObjectReader APIs, you typically check the NodeType property after every operation that potentially advances the reader position, such as the Read, ReadSubtree, or Skip methods. NodeType indicates the information that you can obtain from the current reader position and the methods that you call next. For example, you might access the Member, Type, Value, or Instance properties; or you might call the Skip method if you are not interested in the contents of the current node type.

Applies to

Product Versions
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10