Partager via


DataPart.ContentType Property

Gets the content type (MIME type) of the 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 DataPart
Dim value As String

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

Property Value

Type: System.String

See Also

Reference

DataPart Class

DataPart Members

DocumentFormat.OpenXml.Packaging Namespace