Share via


SPFileVersion.Url property

Gets the relative URL of the file version based on the URL for the site or subsite.

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

Syntax

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

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

Property value

Type: System.String
A string that contains the URL.

Remarks

Although the Url property contains a URL to which you can browse, an SPFile object cannot be constructed on the basis of this URL.

See also

Reference

SPFileVersion class

SPFileVersion members

Microsoft.SharePoint namespace