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

声明
Public Sub DeletePartsRecursivelyOfType(Of T As OpenXmlPart)
用法
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