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
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈