Compartilhar via


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

SP.File Class

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.

See Also

Reference

SP.File Methods

SP.File Properties

SP Namespace