Skip to content

Latest commit

 

History

History
37 lines (26 loc) · 926 Bytes

xmlnamednodemap_getnameditemns_1012941850.md

File metadata and controls

37 lines (26 loc) · 926 Bytes
-api-id -api-type
M:Windows.Data.Xml.Dom.XmlNamedNodeMap.GetNamedItemNS(System.Object,System.String)
winrt method

Windows.Data.Xml.Dom.XmlNamedNodeMap.GetNamedItemNS

-description

Retrieves the attribute with the specified namespace and name.

-parameters

-param namespaceUri

The namespace name of the attribute.

-param name

The name of the attribute.

-returns

The attribute with the specified namespace and name. This method returns Null if the attribute node is not in this collection.

-remarks

-examples

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");

-see-also