SPListItem.HasPublishedVersion property
取得 Boolean 值,以指定的項目已發佈的版本是否存在。
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public ReadOnly Property HasPublishedVersion As Boolean
Get
'用途
Dim instance As SPListItem
Dim value As Boolean
value = instance.HasPublishedVersion
public bool HasPublishedVersion { get; }
Property value
Type: System.Boolean
true項目是否已發佈的版本 ;否則,請false。