Share via


SPView.Url property

Gets the site-relative URL of the page that contains the view.

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

Syntax

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

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

Property value

Type: System.String
A string that contains the site-relative URL.

See also

Reference

SPView class

SPView members

Microsoft.SharePoint namespace