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)
Available in Sandboxed Solutions: No
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.