SPViewCollection.Delete Method
Deletes the view with the specified GUID from the collection.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
Public Sub Delete ( _
id As Guid _
)
'Usage
Dim instance As SPViewCollection
Dim id As Guid
instance.Delete(id)
public void Delete(
Guid id
)
Parameters
id
Type: System.GuidA GUID that specifies the view to delete.