XamlObjectReader.NodeType Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the type of the current node.
public:
virtual property System::Xaml::XamlNodeType NodeType { System::Xaml::XamlNodeType get(); };
public override System.Xaml.XamlNodeType NodeType { get; }
member this.NodeType : System.Xaml.XamlNodeType
Public Overrides ReadOnly Property NodeType As XamlNodeType
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
.NET