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)

Syntax

'Declaration
Public ReadOnly Property AllowContentTypes As Boolean
    Get
'Usage
Dim instance As List
Dim value As Boolean

value = instance.AllowContentTypes
public bool AllowContentTypes { get; }

Property value

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

Exceptions

Exception Condition
UnauthorizedAccessException

The current user has insufficient permissions to perform the operation.

See also

Reference

List class

List members

Microsoft.SharePoint.Client namespace