Export (0) Print
Expand All
Expand Minimize

SPWeb.GetObject Method

Windows SharePoint Services 3

Returns a file, folder, or list item that is associated with the specified URL.

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

public Object GetObject(
	string strUrl
)

Parameters

strUrl
Type: System.String
A string that contains the URL.

Return Value

Type: System.Object
An SPFile, SPFolder, or SPListItem object that represents the file, folder, or list item, respectively.

Community Additions

ADD
Show:
© 2014 Microsoft