Freigeben über


SPList.AllowContentTypes Property

Returns true if the list supports content types.

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

Syntax

Public ReadOnly Property AllowContentTypes As Boolean
    Get

Dim instance As SPList
Dim value As Boolean

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

Property Value

Type: System.Boolean
true if the list supports content types; otherwise, false.

See Also

Reference

SPList Class

SPList Members

Microsoft.SharePoint Namespace