NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

XmlReader.IsEmptyTag

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;

Remarks

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.

See Also

XmlReader Class | XmlReader Members | System.Xml Namespace | NodeType