Udostępnij za pośrednictwem


List.AllowContentTypes Property

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

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

Syntax

'Declaration
<RemoteAttribute> _
Public ReadOnly Property AllowContentTypes As Boolean
    Get
'Usage
Dim instance As List
Dim value As Boolean

value = instance.AllowContentTypes
[RemoteAttribute]
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