SPListItem.ModerationInformation property

Gets Content Approval information for the item, including the status and comment.

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


Public ReadOnly Property ModerationInformation As SPModerationInformation
Dim instance As SPListItem
Dim value As SPModerationInformation

value = instance.ModerationInformation
public SPModerationInformation ModerationInformation { get; }

Property value

Type: Microsoft.SharePoint.SPModerationInformation
An object that contains the information. Returns a null reference (Nothing in Visual Basic) if there is no Content Approval information.

See also


SPListItem class

SPListItem members

Microsoft.SharePoint namespace