This documentation is archived and is not being maintained.

SP.FileSystemObjectType enumeration

SharePoint 2013

Specifies the file system object type.

Last modified: March 09, 2015

Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013

var SP.FileSystemObjectType = {file : "Undefined",folder : "Undefined",invalid : "Undefined",web : "Undefined",registerEnum : "Undefined"}

The FileSystemObjectType object enumeration has the following members.

Member

Value

Description

file

0

Enumeration whose values specify whether the object is a file.

folder

1

Enumeration whose values specify whether the object is a folder.

invalid

-1

Enumeration whose values specify whether the object is invalid.

web

2

Enumeration whose values specify whether the object is a site.

registerEnum

Undefined

Show: