Share via


WebPartDefinitionCollection class

Implements a collection of WebPartDefintion objects.

Inheritance hierarchy

System.Object
  Microsoft.SharePoint.Client.ClientObject
    Microsoft.SharePoint.Client.ClientObjectCollection
      Microsoft.SharePoint.Client.ClientObjectCollection<WebPartDefinition>
        Microsoft.SharePoint.Client.WebParts.WebPartDefinitionCollection

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

Syntax

'Declaration
Public Class WebPartDefinitionCollection _
    Inherits ClientObjectCollection(Of WebPartDefinition)
'Usage
Dim instance As WebPartDefinitionCollection
public class WebPartDefinitionCollection : ClientObjectCollection<WebPartDefinition>

Thread safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See also

Reference

WebPartDefinitionCollection members

Microsoft.SharePoint.Client.WebParts namespace