This documentation is archived and is not being maintained.

SPListItem.HasPublishedVersion Property

Windows SharePoint Services 3

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.