SPEmailAttachment.ContentType property
取得附件的多用途網際網路郵件延伸標準 (MIME) 內容類型。
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public ReadOnly Property ContentType As String
Get
'用途
Dim instance As SPEmailAttachment
Dim value As String
value = instance.ContentType
public string ContentType { get; }
Property value
Type: System.String
字串,包含內容的型別。