SPListItemInfo.IsFolder Property
Gets or sets a value that indicates whether the item represents a folder.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
Public Property IsFolder As Boolean
Get
Set
'Usage
Dim instance As SPListItemInfo
Dim value As Boolean
value = instance.IsFolder
instance.IsFolder = value
public bool IsFolder { get; set; }
Property Value
Type: System.Boolean
true if the item represents an SPFolder object; otherwise, false.