Export (0) Print
Expand All

XamlObjectReader.NodeType Property

.NET Framework 4.6 and 4.5

Gets the type of the current node.

Namespace:  System.Xaml
Assembly:  System.Xaml (in System.Xaml.dll)

public override XamlNodeType NodeType { get; }

Property Value

Type: System.Xaml.XamlNodeType
The type of the current node.

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.

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4
Show:
© 2015 Microsoft