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.ReadStartTag (String)

Checks that the current content node is a start tag with the given name and advances the reader to the next node.

[Visual Basic]
Overloads Public Sub ReadStartTag( _
   ByVal name As String _
)
[C#]
public void ReadStartTag(
   string name
);
[C++]
public: void ReadStartTag(
   String* name
);
[JScript]
public function ReadStartTag(
   name : String
);

Parameters

name
The required name for the start tag.

Exceptions

Exception Type Condition
XmlException If the current node is not a start tag with the given name or if incorrect XML is encountered in the input stream.

Remarks

A call to this method corresponds to a call to CheckStartTag followed by a call to Read.

See Also

XmlReader Class | XmlReader Members | System.Xml Namespace | XmlReader.ReadStartTag Overload List | ReadStartTag | ReadStartTag | ReadStartTag | ReadEndTag