Share via


SPMobileMessageContentPart.Id property

Gets or sets the ID of the content part.

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

Syntax

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

value = instance.Id

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

Property value

Type: System.String
The ID of the content part.

Remarks

The ID has the following format:

The file extension is optional. serial_number is zero for the first content part in a given message. Each subsequent content part added gets a serial number that is one greater than its predecessor. The following is an example content part ID:

The file extension is optional. serial_number is zero for the first content part in a given message. Each subsequent content part added gets a serial number that is one greater than its predecessor has. The following is an example content part ID:

Att2.txt@f024b9c54a0742bc909f6bf5beff106c

See also

Reference

SPMobileMessageContentPart class

SPMobileMessageContentPart members

Microsoft.SharePoint.MobileMessage namespace