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.CheckEndTag

Checks that the current content node is an end tag.

[Visual Basic]
Public Sub CheckEndTag()
[C#]
public void CheckEndTag();
[C++]
public: void CheckEndTag();
[JScript]
public function CheckEndTag();

Exceptions

Exception Type Condition
XmlException If incorrect XML is encountered in the input stream or if the resulting node is not an end tag.

Remarks

This method skips whitespace, comments, and processing instructions until the reader is positioned on a content node. The method then checks that the current node is an end tag. If the check is unsuccessful, an exception is thrown.

See Also

XmlReader Class | XmlReader Members | System.Xml Namespace | IsEndTag | MoveToContent