PartExtensionProvider.AddPartExtension-Methode
Add a part extension for the specified ContentType
Namespace: DocumentFormat.OpenXml.Packaging
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Declaration
Public Sub AddPartExtension ( _
contentType As String, _
partExtension As String _
)
'Usage
Dim instance As PartExtensionProvider
Dim contentType As String
Dim partExtension As String
instance.AddPartExtension(contentType, _
partExtension)
public void AddPartExtension(
string contentType,
string partExtension
)
Parameter
- contentType
Typ: System.String
ContentType
- partExtension
Typ: System.String
Part Extension (".xml") to be used for the part with the specified content type.