[]
        
(Showing Draft Content)

C1.LiveLinq.LiveViews.Xml.XmlExtensions.Attributes

Attributes Method

Attributes(View<XElement>)

Returns a view representing the collection of the attributes of every element in the source view.

Declaration
public static View<XAttribute> Attributes(this View<XElement> view)
Parameters
Type Name Description
View<XElement> view

The source view.

Returns
Type Description
View<XAttribute>

A view containing the attributes of every element in the source view.

Attributes(View<XElement>, XName)

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.

Declaration
public static View<XAttribute> Attributes(this View<XElement> view, XName name)
Parameters
Type Name Description
View<XElement> view

The source view.

XName name

The XName to match.

Returns
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.