SPListItemVersion.Url property

Gets the URL of the item version relative to the Web site that contains the item.

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

Syntax

'Declaration
Public ReadOnly Property Url As String
    Get
'Usage
Dim instance As SPListItemVersion
Dim value As String

value = instance.Url
public string Url { get; }

Property value

Type: System.String
A string that contains the Web site-relative URL of the item version. For the current item version, the string contains a value such as "Lists/MyList/1_.000". Otherwise, the string contains a value that includes the virtual directory and version ID used for versioning, such as "_vti_history/512/Lists/MyList/1_.000" or "_vti_history/1024/Lists/MyList/1_.000".

See also

Reference

SPListItemVersion class

SPListItemVersion members

Microsoft.SharePoint namespace