[]
Returns a view representing the collection of the attributes of every element in the source view.
public static View<XAttribute> Attributes(this View<XElement> view)
Type | Name | Description |
---|---|---|
View<XElement> | view | The source view. |
Type | Description |
---|---|
View<XAttribute> | A view containing the attributes of every element in the source view. |
Returns a view representing a filtered collection of the attributes of every element in the source view. Only attributes that have a matching XName are included.
public static View<XAttribute> Attributes(this View<XElement> view, XName name)
Type | Name | Description |
---|---|---|
View<XElement> | view | The source view. |
XName | name | The XName to match. |
Type | Description |
---|---|
View<XAttribute> | A view that contains a filtered collection of the attributes of every element in the source view. Only attributes that have a matching XName are included. |