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
'宣言
Public Overridable ReadOnly Property ContentType As String
Get
'使用
Dim instance As OpenXmlPart
Dim value As String
value = instance.ContentType
public virtual string ContentType { get; }
Property Value
Type: System.String