SPLimitedWebPartManager.WebParts Property

Gets the collection of all dynamic Web Parts on the WebPartPage.

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


Public ReadOnly Property WebParts As SPLimitedWebPartCollection
Dim instance As SPLimitedWebPartManager
Dim value As SPLimitedWebPartCollection

value = instance.WebParts
public SPLimitedWebPartCollection WebParts { get; }

Property Value

Type: Microsoft.SharePoint.WebPartPages.SPLimitedWebPartCollection
A collection of ASP.NET Web Parts.

See Also


SPLimitedWebPartManager Class

SPLimitedWebPartManager Members

Microsoft.SharePoint.WebPartPages Namespace