SPEmailAttachment.ContentId Property

Gets the MIME content ID for the attachment.

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

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