SPEmailAttachment.ContentType Property
Gets the Multipurpose Internet Mail Extensions (MIME) content type of the attachment.
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public ReadOnly Property ContentType As String
Get
'Usage
Dim instance As SPEmailAttachment
Dim value As String
value = instance.ContentType
public string ContentType { get; }
Property Value
Type: System.String
A string that contains the content type.