Share via


HeaderPart.ContentType Property

Gets the ContentType.

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

Syntax

'Declaration
Public Overrides NotOverridable ReadOnly Property ContentType As String
    Get
'Usage
Dim instance As HeaderPart
Dim value As String

value = instance.ContentType
public override sealed string ContentType { get; }

Property Value

Type: System.String

See Also

Reference

HeaderPart Class

HeaderPart Members

DocumentFormat.OpenXml.Packaging Namespace