ModerationInformation property

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

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.
© 2016 Microsoft