Condividi tramite


Folder.DeleteObject Method

Deletes the list folder.

Namespace:  Microsoft.SharePoint.Client
Assemblies:   Microsoft.SharePoint.Client.Silverlight (in Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

Syntax

'Declaration
<RemoteAttribute> _
Public Sub DeleteObject
'Usage
Dim instance As Folder

instance.DeleteObject()
[RemoteAttribute]
public void DeleteObject()

Exceptions

Exception Condition
[System.UnauthorizedAccessException]

The current user has insufficient permissions. Error code: -2147024891.

See Also

Reference

Folder Class

Folder Members

Microsoft.SharePoint.Client Namespace