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)
Syntax
'Declaration
Public ReadOnly Property HasPublishedVersion As Boolean
Get
'Usage
Dim instance As SPListItem
Dim value As Boolean
value = instance.HasPublishedVersion
public bool HasPublishedVersion { get; }
Property value
Type: System.Boolean
true if the item has a published version; otherwise, false.