XElement.Attributes Method (XName)
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Returns a filtered collection of attributes of this element. Only elements that have a matching XName are included in the collection.
Assembly: System.Xml.Linq (in System.Xml.Linq.dll)
Parameters
- name
- Type: System.Xml.Linq.XName
The XName to match.
Return Value
Type: System.Collections.Generic.IEnumerable(Of XAttribute)An IEnumerable(Of T) of XAttribute that contains the attributes of this element. Only elements that have a matching XName are included in the collection.
Show: