XmlDocument.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 collection of elements that have the specified 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 element name to find. The value "*" returns all elements in the document.
Returns
The collection of elements that match the specified name.