 | OpenXmlElementAncestors Method |
Enumerates all of the current element's ancestors.
Namespace: DocumentFormat.OpenXmlAssembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll) Version: 2.11.3+Branch.master.Sha.3fcdea311b5a001803ff150de35c25fd4cd62f93.3fcdea311b5a001803ff150de35c25fd4cd62f93
Syntaxpublic IEnumerable<OpenXmlElement> Ancestors()
Public Function Ancestors As IEnumerable(Of OpenXmlElement)
public:
IEnumerable<OpenXmlElement^>^ Ancestors()
member Ancestors : unit -> IEnumerable<OpenXmlElement>
Return Value
IEnumerableOpenXmlElementAn IEnumerable object that contains a list of the current OpenXmlElement element's ancestors.
See Also