'Declaration Public Overloads Shared Function Elements(Of T As XContainer)( _ ByVal view As View(Of T), _ ByVal name As XName _ ) As View(Of XElement)
public static View<XElement> Elements<T>( View<T> view, XName name ) where T: XContainer
Parameters
- view
- The source view.
- name
- The System.Xml.Linq.XName to match.
Type Parameters
- T
- The type of the objects in the source view, constrained to System.Xml.Linq.XContainer.
Return Value
A view that contains a filtered collection of child elements of every element and document in the source view. Only elements that have a matching System.Xml.Linq.XName are included.