OpenXmlPartContainer.DeletePart Method (String) (Microsoft.Office.DocumentFormat.OpenXml.Packaging)
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Delete the specified child part from this part.
Namespace: Microsoft.Office.DocumentFormat.OpenXml.Packaging
Assembly: Microsoft.Office.DocumentFormat.OpenXml (in microsoft.office.documentformat.openxml.dll)
Syntax
'Declaration
Public Function DeletePart ( _
id As String _
) As Boolean
'Usage
Dim instance As OpenXmlPartContainer
Dim id As String
Dim returnValue As Boolean
returnValue = instance.DeletePart(id)
public bool DeletePart (
string id
)
Parameters
- id
The relationship ID of the part to be deleted.
See Also
Reference
OpenXmlPartContainer Class
OpenXmlPartContainer Members
Microsoft.Office.DocumentFormat.OpenXml.Packaging Namespace