Share via


SPList.EnableModeration property

Gets or sets a Boolean value that specifies whether Content Approval is enabled for the list.

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

Syntax

'Declaration
Public Property EnableModeration As Boolean
    Get
    Set
'Usage
Dim instance As SPList
Dim value As Boolean

value = instance.EnableModeration

instance.EnableModeration = value
public bool EnableModeration { get; set; }

Property value

Type: System.Boolean
true if Content Approval is enabled; otherwise, false.

See also

Reference

SPList class

SPList members

Microsoft.SharePoint namespace