Share via


SPEmailAttachment.ContentStream property

Gets the content stream of the attachment.

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

Syntax

'Declaration
Public ReadOnly Property ContentStream As Stream
    Get
'Usage
Dim instance As SPEmailAttachment
Dim value As Stream

value = instance.ContentStream
public Stream ContentStream { get; }

Property value

Type: System.IO.Stream
A read-only Stream object that represents the content stream.

See also

Reference

SPEmailAttachment class

SPEmailAttachment members

Microsoft.SharePoint.Utilities namespace