XamlReader.NodeType 属性

定义

在派生类中实现时,获取当前节点的类型。When implemented in a derived class, gets the type of the current node.

public:
 abstract property System::Xaml::XamlNodeType NodeType { System::Xaml::XamlNodeType get(); };
public abstract System.Xaml.XamlNodeType NodeType { get; }
member this.NodeType : System.Xaml.XamlNodeType
Public MustOverride ReadOnly Property NodeType As XamlNodeType

属性值

XamlNodeType

XamlNodeType 枚举的一个值。A value of the XamlNodeType enumeration.

注解

通过行为限制,子树读取器可以调用 NodeTypeSubtree readers can call NodeType, with behavior restrictions. 有关详细信息,请参阅 XamlReader中的 "子树读者" 部分,或参阅 ReadSubtreeFor more information, see the "Subtree Readers" section in XamlReader, or see ReadSubtree.

适用于

另请参阅