Web.AvailableContentTypes property

Gets the collection of all content types that apply to the current scope, including those of the current Web site, as well as any parent Web sites.

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

public ContentTypeCollection AvailableContentTypes { 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: