Returns the all ancestors of the current
Element object.
Namespace: SautinSoft.DocumentAssembly: SautinSoft.Document (in SautinSoft.Document.dll) Version: 2024.7.18
Syntax public IEnumerable<Element> Ancestors(
bool includeSelf
)
Public Function Ancestors (
includeSelf As Boolean
) As IEnumerable(Of Element)
Parameters
- includeSelf Boolean
- In case of true, returns itself also.
Return Value
IEnumerableElementThe collection with all ancestors of the current
Element.
See Also