Share via


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
Assembly:  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

Syntax

'Declaration
Public ReadOnly Property AvailableContentTypes As ContentTypeCollection
    Get
'Usage
Dim instance As Web
Dim value As ContentTypeCollection

value = instance.AvailableContentTypes
public ContentTypeCollection AvailableContentTypes { get; }

Property value

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

Remarks

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

See also

Reference

Web class

Web members

Microsoft.SharePoint.Client namespace