ListItem.FileSystemObjectType property

Gets a value that specifies whether the list item is a file or a list folder.

Namespace:  Microsoft.SharePoint.Client
Assembly:  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

Syntax

'Declaration
Public ReadOnly Property FileSystemObjectType As FileSystemObjectType
    Get
'Usage
Dim instance As ListItem
Dim value As FileSystemObjectType

value = instance.FileSystemObjectType
public FileSystemObjectType FileSystemObjectType { get; }

Property value

Type: Microsoft.SharePoint.Client.FileSystemObjectType
Returns a FileSystemObjectType.instance.representing whether the list item is a file or a list folder.

Remarks

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

See also

Reference

ListItem class

ListItem members

Microsoft.SharePoint.Client namespace