Freigeben über


List.AllowContentTypes-Eigenschaft

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

Namespace:  Microsoft.SharePoint.Client
Assemblys:   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)

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; }

Eigenschaftswert

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

Ausnahmen

Ausnahme Bedingung
UnauthorizedAccessException

The current user has insufficient permissions to perform the operation.

Siehe auch

Referenz

List Klasse

List-Member

Microsoft.SharePoint.Client-Namespace