XmlElement.GetElementsByTagName(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Platform::String
winrt::hstring
The tag of the required elements.
Returns
The required elements. The list can be empty.