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)
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.