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
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기