共用方式為


OpenXmlPart.GetParentParts Method

Enum 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