-api-id | -api-type |
---|---|
M:Windows.Data.Xml.Dom.XmlNamedNodeMap.GetNamedItemNS(System.Object,System.String) |
winrt method |
Retrieves the attribute with the specified namespace and name.
The namespace name of the attribute.
The name of the attribute.
The attribute with the specified namespace and name. This method returns Null if the attribute node is not in this collection.
var node = attributes.GetNamedItemNS("http://schemas.microsoft.com/winfx/2006/xaml", "Name");
auto node = attributes.GetNamedItemNS(winrt::box_value(L"http://schemas.microsoft.com/winfx/2006/xaml"), L"Name");