Share via


WebPartDefinitionCollection constructor

Initializes a new instance of a WebPartDefinitionCollection object.

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

Syntax

'Declaration
Public Sub New ( _
    context As ClientRuntimeContext, _
    objectPath As ObjectPath _
)
'Usage
Dim context As ClientRuntimeContext
Dim objectPath As ObjectPath

Dim instance As New WebPartDefinitionCollection(context, _
    objectPath)
public WebPartDefinitionCollection(
    ClientRuntimeContext context,
    ObjectPath objectPath
)

Parameters

See also

Reference

WebPartDefinitionCollection class

WebPartDefinitionCollection members

Microsoft.SharePoint.Client.WebParts namespace