SPWeb.GetFileOrFolderObject Method
Retrieves a file or folder on the website with the specified URL.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Parameters
- strUrl
- Type: System.String
The URL of the file or folder.