SPListItem.HasPublishedVersion property

Gets a Boolean value that specifies whether a published version of the item exists.

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

public bool HasPublishedVersion { get; }

Property value

Type: System.Boolean
true if the item has a published version; otherwise, false.
Show: