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)
Syntax
'Declaration
Public ReadOnly Property ModerationInformation As SPModerationInformation
Get
'Usage
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.