Partilhar via


SPWebPartCollection.Clear Method

NOTE: This API is now obsolete.

Obsolete.

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

Syntax

'Declaration
<ObsoleteAttribute("Use SPLimitedWebPartManager instead.")> _
Public Sub Clear
'Usage
Dim instance As SPWebPartCollection

instance.Clear()
[ObsoleteAttribute("Use SPLimitedWebPartManager instead.")]
public void Clear()

See Also

Reference

SPWebPartCollection Class

SPWebPartCollection Members

Microsoft.SharePoint Namespace