Share via


OpenXmlPartContainer.AddNewPart Generic Method () (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.]

Namespace: Microsoft.Office.DocumentFormat.OpenXml.Packaging
Assembly: Microsoft.Office.DocumentFormat.OpenXml (in microsoft.office.documentformat.openxml.dll)

Syntax

'Declaration
Public Function AddNewPart(Of T As OpenXmlPart, IFixedContentTypePart) As T
'Usage
Dim instance As OpenXmlPartContainer
Dim returnValue As T

returnValue = instance.AddNewPart
public T AddNewPart<T> () where T : OpenXmlPart, IFixedContentTypePart

See Also

Reference

OpenXmlPartContainer Class
OpenXmlPartContainer Members
Microsoft.Office.DocumentFormat.OpenXml.Packaging Namespace