SPFile.Url property

Gets the site-relative URL of the file.

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

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

value = instance.Url

Property value

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