TopicTransformationExtensionsFollowingSiblings Method

Return all following sibling elements that optionally match the given element's name

Definition

Namespace: Sandcastle.Core.PresentationStyle.Transformation
Assembly: Sandcastle.Core (in Sandcastle.Core.dll) Version: 2024.9.12.0
public static IEnumerable<XElement> FollowingSiblings(
	this XElement element,
	XName name
)

Parameters

element  XElement
The starting element
name  XName
The element name to match or null for all preceding siblings

Return Value

IEnumerableXElement
An enumerable list of the following sibling elements optionally limited to those with a matching name

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type XElement. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also