SP.File.versions Property
Applies to: SharePoint Foundation 2010
In this article
Property Value
Applies To
Remarks
Gets a value that returns a collection of file version objects that represent the versions of the file.
var value = SP.File.get_versions();
Property Value
Type: SP.FileVersionCollection
Applies To
Exceptions
- UnauthorizedAccessException
The current user has insufficient permissions. Error code: -2147024891.
Remarks
It must not be null.