Partager via


List.AllowContentTypes - Propriété

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

Espace de noms :  Microsoft.SharePoint.Client
Assemblys :   Microsoft.SharePoint.Client.Silverlight (dans Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client.Phone (dans Microsoft.SharePoint.Client.Phone.dll)  Microsoft.SharePoint.Client (dans Microsoft.SharePoint.Client.dll)

Syntaxe

'Déclaration
Public ReadOnly Property AllowContentTypes As Boolean
    Get
'Utilisation
Dim instance As List
Dim value As Boolean

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

Valeur de propriété

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.

Voir aussi

Référence

List classe

List - Membres

Microsoft.SharePoint.Client - Espace de noms