Export (0) Print
Expand All

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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

public bool HasPublishedVersion { get; }

Property Value

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