Share via


SPEmailAttachment.ContentId property

Gets the MIME content ID for the attachment.

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

Syntax

'Declaration
Public ReadOnly Property ContentId As String
    Get
'Usage
Dim instance As SPEmailAttachment
Dim value As String

value = instance.ContentId
public string ContentId { get; }

Property value

Type: System.String
A string that contains the content ID.

See also

Reference

SPEmailAttachment class

SPEmailAttachment members

Microsoft.SharePoint.Utilities namespace