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)

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