Share via


ListItem.Folder property

Gets a folder object that is associated with a folder item.

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

Syntax

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

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

Property value

Type: Microsoft.SharePoint.Client.Folder
An Folder object that represents the folder if the item is a folder; otherwise a null reference (Nothing in Visual Basic).

See also

Reference

ListItem class

ListItem members

Microsoft.SharePoint.Client namespace