Expand Minimize
0 out of 7 rated this helpful - Rate this topic

SPWeb.GetListItem Method

Windows SharePoint Services 3
Returns the list item that is associated with the specified server-relative URL.

Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in microsoft.sharepoint.dll)
public SPListItem GetListItem (
	string strUrl
)

Parameters

strUrl

A string that contains the server-relative URL, for example,"/sites/MySite/Shared Documents/MyDocument.docx".

Return Value

An SPListItem object that represents the list item.
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.