LimitedWebPartManager.WebParts property

Gets a value that specifies collection of the Web Parts on the Web Part Page available to the current user based on the current user’s permissions.

Namespace:  Microsoft.SharePoint.Client.WebParts
Assembly:  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

Syntax

'Declaration
Public ReadOnly Property WebParts As WebPartDefinitionCollection
    Get
'Usage
Dim instance As LimitedWebPartManager
Dim value As WebPartDefinitionCollection

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

Property value

Type: Microsoft.SharePoint.Client.WebParts.WebPartDefinitionCollection
Returns a WebPartDefinitionCollection instance representing the collection of the Web Parts on the Web Part Page available to the current user based on the current user’s permissions.

See also

Reference

LimitedWebPartManager class

LimitedWebPartManager members

Microsoft.SharePoint.Client.WebParts namespace