SPListItemVersion.Url property
取得項目版本與 Web 站台包含之項目的相對的 URL。
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public ReadOnly Property Url As String
Get
'用途
Dim instance As SPListItemVersion
Dim value As String
value = instance.Url
public string Url { get; }
Property value
Type: System.String
字串,包含項目版本的 Web 站台相對 URL。目前的項目版本,字串會包含值,例如"Lists/MyList/1_.000"。否則,字串會包含虛擬目錄和 ID 用於版本控制,例如"_vti_history/512/Lists/MyList/1_.000"或"_vti_history/1024/Lists/MyList/1_.000"的版本所包含的值。