List.AllowContentTypes property

Gets a value that specifies whether the list supports content types.

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

public bool AllowContentTypes { get; }

Property value

Type: System.Boolean
Returns Booleantrue if list supports content types otherwise returns false. The default value is

ExceptionCondition
UnauthorizedAccessException

The current user has insufficient permissions to perform the operation.

Show: