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

Checks whether the current element has the specified name.

[Visual Basic]
Overloads Public Function TagNameIs( _
   ByVal name As String _
) As Boolean
[C#]
public bool TagNameIs(
   string name
);
[C++]
public: bool TagNameIs(
   String* name
);
[JScript]
public function TagNameIs(
   name : String
) : Boolean;

Parameters

name
The name to check against the current element's name. If the current element has a namespace prefix, the name parameter should include the namespace prefix.

Return Value

true if the current element has the specified name; otherwise, false.

See Also

XmlReader Class | XmlReader Members | System.NewXml Namespace | XmlReader.TagNameIs Overload List