WebPartDefinitionCollection Class

Implements a collection of Web Part definition 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
Assemblies:   Microsoft.SharePoint.Client.Silverlight (in Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

Syntax

'Declaration
<ScriptTypeAttribute("SP.WebParts.WebPartDefinitionCollection", ServerTypeId := "{01c986b2-57a6-49fb-b8f1-df159f5b2349}")> _
Public Class WebPartDefinitionCollection _
    Inherits ClientObjectCollection(Of WebPartDefinition)
'Usage
Dim instance As WebPartDefinitionCollection
[ScriptTypeAttribute("SP.WebParts.WebPartDefinitionCollection", ServerTypeId = "{01c986b2-57a6-49fb-b8f1-df159f5b2349}")]
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