View.DeleteObject method

Deletes the list view.

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

public void DeleteObject()

ExceptionCondition
[Microsoft.SharePoint.SPException]

List view does not exist. Error code: -2130575320.

[System.UnauthorizedAccessException]

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

Show: