共用方式為


SPMobileMessageContentPart Members

Include Protected Members
Include Inherited Members

Represents some or all of the main content of a Short Message Service (SMS) message in contrast to the user information and header parts of an SMS message.

The SPMobileMessageContentPart type exposes the following members.

Constructors

  Name Description
Public method SPMobileMessageContentPart(String, String, String) Initializes a new instance of the SPMobileMessageContentPart class that has the specified MIME type, ID, and location.
Public method SPMobileMessageContentPart(String, String, String, Stream) Initializes a new instance of the SPMobileMessageContentPart class that has the specified MIME type, ID, location, and content.
Public method SPMobileMessageContentPart(String, String, String, String) Initializes a new instance of the SPMobileMessageContentPart class that has the specified MIME type, ID, location, and content.

Top

Properties

  Name Description
Public property Content Gets or sets the content of the content part, encoded in accordance with the MIME type of the content part.
Public property Id Gets or sets the ID of the content part.
Public property Location This member is reserved for internal use and is not intended to be used directly from your code.
Public property MimeType Gets or sets the MIME type of the content part.
Public property Size Gets or sets the size of the content part in bytes.

Top

Methods

  Name Description
Public method BuildXml Creates the Office Mobile Service (OMS) content element for the content part.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

See Also

Reference

SPMobileMessageContentPart Class

Microsoft.SharePoint.MobileMessage Namespace