-api-id | -api-type |
---|---|
M:Windows.Data.Xml.Dom.XmlElement.GetAttributeNodeNS(System.Object,System.String) |
winrt method |
Returns the specified attribute from the specified namespace.
The namespace of the attribute to get.
The name of the attribute without the namespace prefix.
The returned attribute pointer.
var width = element.GetAttributeNodeNS("http://www.w3.org/2000/svg", "width");
auto width = element.GetAttributeNodeNS(winrt::box_value(L"http://www.w3.org/2000/svg"), L"width");