SP.AttachmentCreationInformation.contentStream property (sp.js)
Gets or sets the contents of the file as a stream.
Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013
var value = SP.AttachmentCreationInformation.get_contentStream ()
var value = SP.AttachmentCreationInformation.set_contentStream ()
Return value
Undefined
The contents of the file.