共用方式為


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

    A GUID that specifies the view to delete.

See Also

Reference

SPViewCollection Class

SPViewCollection Members

Microsoft.SharePoint Namespace