SP.FileVersionCollection Methods

Applies to: SharePoint Foundation 2010

The following table lists the methods of the SP.FileVersionCollection class.

Methods

Name

Description

deleteAll

Deletes all the file version objects in the collection.

deleteByID

Deletes the specified version of the file.

deleteByLabel

Deletes the file version object with the specified version label.

FileVersionCollection

This member is reserved for internal use and is not intended to be used directly from your code.

itemAt

Gets the file version at the specified index in the collection.

restoreByLabel

Creates a new file version from the file specified by the version label.

Applies To

SP.FileVersionCollection Class

See Also

Reference

SP.FileVersionCollection Properties

SP Namespace