共用方式為


SPFileSystemObjectType Enumeration

Specifies a type of file system object.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
<SubsetCallableTypeAttribute> _
<ClientCallableTypeAttribute(Name := "FileSystemObjectType")> _
Public Enumeration SPFileSystemObjectType
'Usage
Dim instance As SPFileSystemObjectType
[SubsetCallableTypeAttribute]
[ClientCallableTypeAttribute(Name = "FileSystemObjectType")]
public enum SPFileSystemObjectType

Members

Member name Description
Invalid Invalid. Value = -1.
File File. Value = 0.
Folder Folder. Value = 1.
Web Web. Value = 2.

See Also

Reference

Microsoft.SharePoint Namespace