Share via


OpenXmlPackage.DeletePartsRecursivelyOfType<T> 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.

Recursively deletes all the parts that are the specified part type from the package.

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

Syntax

'Declaration
Public Sub DeletePartsRecursivelyOfType(Of T As OpenXmlPart)
'Usage
Dim instance As OpenXmlPackage

instance.DeletePartsRecursivelyOfType()
public void DeletePartsRecursivelyOfType<T>()
where T : OpenXmlPart

Type Parameters

  • T

See Also

Reference

OpenXmlPackage Class

OpenXmlPackage Members

DocumentFormat.OpenXml.Packaging Namespace