XmlElement.GetElementsByTagName(String) Method

Definition

Returns a list of all descendant elements that match the supplied name.

public:
 virtual XmlNodeList ^ GetElementsByTagName(Platform::String ^ tagName) = GetElementsByTagName;
XmlNodeList GetElementsByTagName(winrt::hstring const& tagName);
public XmlNodeList GetElementsByTagName(string tagName);
function getElementsByTagName(tagName)
Public Function GetElementsByTagName (tagName As String) As XmlNodeList

Parameters

tagName
String

The tag of the required elements.

Returns

XmlNodeList

The required elements. The list can be empty.

Applies to