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

Syntax

'Declaration
Public ReadOnly Property WebParts As SPLimitedWebPartCollection
    Get
'Usage
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

Reference

SPLimitedWebPartManager Class

SPLimitedWebPartManager Members

Microsoft.SharePoint.WebPartPages Namespace