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
Assemblies: Microsoft.SharePoint.Client.Silverlight (in Microsoft.SharePoint.Client.Silverlight.dll); Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)
Syntax
'Declaration
<RemoteAttribute> _
Public ReadOnly Property WebParts As WebPartDefinitionCollection
Get
'Usage
Dim instance As LimitedWebPartManager
Dim value As WebPartDefinitionCollection
value = instance.WebParts
[RemoteAttribute]
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.