SPFile.Url Property

Gets the site-relative URL of the file.

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

Syntax

Public ReadOnly Property Url As String
    Get

Dim instance As SPFile
Dim value As String

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

Property Value

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

See Also

Reference

SPFile Class

SPFile Members

Microsoft.SharePoint Namespace