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!

XmlDocument.GetElementsByTagName (String)

Returns an XmlNodeList containing a list of all descendant elements that match the specified name.

[Visual Basic]
Overloads Overridable Public Function GetElementsByTagName( _
   ByVal name As String _
) As XmlNodeList
[C#]
public virtual XmlNodeList GetElementsByTagName(
   string name
);
[C++]
public: virtual XmlNodeList* GetElementsByTagName(
   String* name
);
[JScript]
public function GetElementsByTagName(
   name : String
) : XmlNodeList;

Parameters

name
The name to match. The special value "*" matches all tags.

Return Value

An XmlNodeList containing a list of all matching nodes.

Remarks

The nodes are placed in the order in which they would be encountered in a preorder traversal of the XmlElement tree.

See Also

XmlDocument Class | XmlDocument Members | System.NewXml Namespace | XmlDocument.GetElementsByTagName Overload List