Udostępnij za pośrednictwem


SPList.AllowContentTypes Property

Returns true if the list supports content types.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

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

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