SPFolder.Delete method

Deletes the folder.

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

Syntax

'Declaration
Public Sub Delete
'Usage
Dim instance As SPFolder

instance.Delete()
public void Delete()

Remarks

This method deletes the folder, and sets the status of folder collection to which it belongs as modified.

See also

Reference

SPFolder class

SPFolder members

Microsoft.SharePoint namespace