Web.ContentTypes Property

Gets the collection of content types for the Web site.

Namespace:  Microsoft.SharePoint.Client
Assemblies:   Microsoft.SharePoint.Client.Silverlight (in Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

[RemoteAttribute]
public ContentTypeCollection ContentTypes { get; }

Property Value

Type: Microsoft.SharePoint.Client.ContentTypeCollection
A ContentTypeCollection object that represents the content types.

It must not be a null reference (Nothing in Visual Basic).

Show: