SPContext.ListItemVersion property
取得代表內容所指定的版本號碼的UInt32物件。
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public ReadOnly Property ListItemVersion As SPListItemVersion
Get
'用途
Dim instance As SPContext
Dim value As SPListItemVersion
value = instance.ListItemVersion
public SPListItemVersion ListItemVersion { get; }
Property value
Type: Microsoft.SharePoint.SPListItemVersion
UInt32 指定之版本。
備註
SPListItemVersionCollection的GetVersionFromID(Int32)方法傳回的檔案版本物件與指定的識別碼。
版本號碼必須大於零。