Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ListItemServerRelativeUrl property

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)

public string ListItemServerRelativeUrl { get; set; }

Property value

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