Attributes Method

XElement.Attributes Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Returns a collection of attributes of this element.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method Attributes() Returns a collection of attributes of this element.
Public method Attributes(XName) Returns a filtered collection of attributes of this element. Only elements that have a matching XName are included in the collection.
Top

This method uses deferred execution.

Show:
© 2017 Microsoft