Share via


XmlNamedNodeMap.GetNamedItem(String) Method

Definition

Retrieves the attribute with the specified name.

public:
 virtual IXmlNode ^ GetNamedItem(Platform::String ^ name) = GetNamedItem;
IXmlNode GetNamedItem(winrt::hstring const& name);
public IXmlNode GetNamedItem(string name);
function getNamedItem(name)
Public Function GetNamedItem (name As String) As IXmlNode

Parameters

name
String

Platform::String

winrt::hstring

The name of the attribute.

Returns

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

Applies to