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!

XmlElement.GetElementsByTagName (String, String)

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

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

Parameters

localName
The LocalName to match. The special value "*" matches all tags.
namespaceURI
NamespaceURI to match.

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.

The same as the simple GetElementsByTagName, except it is matching on localName and namespaceURI instead of on "name" which is prefix and localName.

See Also

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