SP.File.listItemAllFields Property
Applies to: SharePoint Foundation 2010
Gets a value that specifies the list item field values for the list item corresponding to the file.
var value = SP.File.get_listItemAllFields();
Property Value
Type: SP.ListItem
Applies To
Exceptions
- SPException
Server-relative URL must belong to the list. Error code: -2146232832.
- ArgumentException
The folder MUST exist for the requested path for the server-relative URL. Error code: -2147024809.
- ArgumentNullException
Server-relative URL must not be null. Error code: -2147467261.