Partager via


OpenXmlPackage.DeletePartsRecursivelyOfType<T> Method

Delete all the parts which is the specified part type from package recursively.

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