共用方式為


SPMobileMessageContentPart.MimeType Property

Gets or sets the MIME type of the content part.

Namespace:  Microsoft.SharePoint.MobileMessage
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Property MimeType As String
    Get
    Set
'Usage
Dim instance As SPMobileMessageContentPart
Dim value As String

value = instance.MimeType

instance.MimeType = value
public string MimeType { get; set; }

Property Value

Type: System.String
The MIME type of the content part.

Remarks

In SharePoint Foundation, this is always “text/plain”.

See Also

Reference

SPMobileMessageContentPart Class

SPMobileMessageContentPart Members

Microsoft.SharePoint.MobileMessage Namespace