[]
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)
Public Shared Function Attributes(view As View(Of XElement)) As View(Of XAttribute)
| 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)
Public Shared Function Attributes(view As View(Of XElement), name As XName) As View(Of XAttribute)
| 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. |