SP.ListItem.fileSystemObjectType Property
Applies to: SharePoint Foundation 2010
In this article
Property Value
Applies To
Remarks
Gets a value that specifies whether the list item is a file or a list folder.
var value = SP.ListItem.get_fileSystemObjectType();
Property Value
Type: SP.FileSystemObjectType
Applies To
Remarks
It must be one of the following values: File or Folder.