SPContext.ListItemServerRelativeUrl property
Gets or sets the server-relative URL for the list item in the current HTTP context of Microsoft SharePoint Foundation.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Property ListItemServerRelativeUrl As String
Get
Set
'Usage
Dim instance As SPContext
Dim value As String
value = instance.ListItemServerRelativeUrl
instance.ListItemServerRelativeUrl = value
public string ListItemServerRelativeUrl { get; set; }
Property value
Type: System.String
A string that contains the URL.