XamlObjectReader.NodeType Property
Dans cet article
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
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.
Applies to
Produit | 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 |
Commentaires sur .NET
.NET est un projet open source. Sélectionnez un lien pour fournir des commentaires :