Share via


SPViewFieldCollection.DeleteAll Method

Deletes all the view fields from the collection.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
<ClientCallableMethodAttribute(Name := "RemoveAll", ClientMethodEndCodeSnippet := "OnRemoveAll();")> _
Public Sub DeleteAll
'Usage
Dim instance As SPViewFieldCollection

instance.DeleteAll()
[ClientCallableMethodAttribute(Name = "RemoveAll", ClientMethodEndCodeSnippet = "OnRemoveAll();")]
public void DeleteAll()

See Also

Reference

SPViewFieldCollection Class

SPViewFieldCollection Members

Microsoft.SharePoint Namespace