Indicates whether the current node is an empty element tag.
[Visual Basic] MustOverride Public ReadOnly Property IsEmptyTag As Boolean [C#] public bool IsEmptyTag {abstract get;} [C++] public: __property virtual bool get_IsEmptyTag() = 0; [JScript] public abstract function get IsEmptyTag() : Boolean;
An empty tag is reported as a start tag immediately followed by an end tag. Thus, the input
The IsEmptyTag
property allows an application to distinguish between the two forms. The property is true if the reader is positioned on an empty element tag (a tag that ends in "/>"). For all other node types (including a start tag), this property is false.
XmlReader Class | XmlReader Members | System.Xml Namespace | NodeType