共用方式為


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

SP.ListItem Class

Remarks

It must be one of the following values: File or Folder.

See Also

Reference

SP.ListItem Methods

SP.ListItem Properties

SP Namespace