Url property

SPFile.Url property

Gets the site-relative URL of the file.

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

public string Url { get; }

Property value

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