SPEmailAttachment.ContentStream Property

Gets the content stream of the attachment.

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

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