Share via


ContentTypeCollection constructor

Initializes a new instance of the ContentTypeCollection object.

Namespace:  Microsoft.SharePoint.Client
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 ContentTypeCollection(context, _
    objectPath)
public ContentTypeCollection(
    ClientRuntimeContext context,
    ObjectPath objectPath
)

Parameters

See also

Reference

ContentTypeCollection class

ContentTypeCollection members

Microsoft.SharePoint.Client namespace