共用方式為


SP.FileSystemObjectType Enumeration

Applies to: SharePoint Foundation 2010

Specifies the file system object type.

Values

Name

Description

invalid

Enumeration whose values specify whether the object is invalid. The value = -1.

file

Enumeration whose values specify whether the object is a file. The value = 0.

folder

Enumeration whose values specify whether the object is a folder. The value = 1.

web

Enumeration whose values specify whether the object is a site. The values = 2.

See Also

Reference

SP Namespace