SP.AttachmentCreationInformation object

Represents the creation information for a list item attachment.

Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013

var object = new SP.AttachmentCreationInformation()

Members

The AttachmentCreationInformation object has the following members.

Constructor

The AttachmentCreationInformation object has the following constructor.

Constructor

Description

AttachmentCreationInformation

Initializes a new instance of the SP.AttachmentCreationInformation object.

Properties

The AttachmentCreationInformation object has the following properties.

Property

Description

contentStream

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

fileName

Gets or sets the file name of the list item attachment.

typeId

Gets the type identifier of the list item attachment.