AttachmentCreationInformation.ContentStream property

Gets or sets the contents of the file as a stream.

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

Syntax

'Declaration
Public Property ContentStream As Stream
    Get
    Set
'Usage
Dim instance As AttachmentCreationInformation
Dim value As Stream

value = instance.ContentStream

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

Property value

Type: System.IO.Stream
The contents of the file.

See also

Reference

AttachmentCreationInformation class

AttachmentCreationInformation members

Microsoft.SharePoint.Client namespace