OpenXmlPart.ContentType Property

content type (MIME type) of the content data in the part.

Namespace:  DocumentFormat.OpenXml.Packaging
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
Public Overridable ReadOnly Property ContentType As String
    Get
'Usage
Dim instance As OpenXmlPart
Dim value As String

value = instance.ContentType
public virtual string ContentType { get; }

Property Value

Type: System.String

See Also

Reference

OpenXmlPart Class

OpenXmlPart Members

DocumentFormat.OpenXml.Packaging Namespace