OpenXmlPart.GetParentParts Method

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Enumerates all parents that reference this part anywhere in the document.

Namespace:  DocumentFormat.OpenXml.Packaging
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
Public Function GetParentParts As IEnumerable(Of OpenXmlPart)
'Usage
Dim instance As OpenXmlPart
Dim returnValue As IEnumerable(Of OpenXmlPart)

returnValue = instance.GetParentParts()
public IEnumerable<OpenXmlPart> GetParentParts()

Return Value

Type: System.Collections.Generic.IEnumerable<OpenXmlPart>

See Also

Reference

OpenXmlPart Class

OpenXmlPart Members

DocumentFormat.OpenXml.Packaging Namespace