XElement.Attributes Method (XName)
Returns a filtered collection of attributes of this element. Only elements that have a matching XName are included in the collection.
public IEnumerable<XAttribute> Attributes(
Attribute names must be unique within an element. Therefore, this axis method can return either a collection that contains only one attribute, or it can return an empty collection.
This method uses deferred execution.
Supported in: 5, 4, 3
Silverlight for Windows Phone
Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0
Supported in: Xbox 360, Windows Phone OS 7.0
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback