共用方式為


SPListItemVersionCollection.Web property

取得版本集合物件的父網站。

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
Public ReadOnly Property Web As SPWeb
    Get
'用途
Dim instance As SPListItemVersionCollection
Dim value As SPWeb

value = instance.Web
public SPWeb Web { get; }

Property value

Type: Microsoft.SharePoint.SPWeb
表示父網站的SPWeb物件。

請參閱

參照

SPListItemVersionCollection class

SPListItemVersionCollection members

Microsoft.SharePoint namespace