Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Retrieves a file or folder on the website with the specified URL.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
'Declaration
Public Function GetFileOrFolderObject ( _
strUrl As String _
) As Object
'Usage
Dim instance As SPWeb
Dim strUrl As String
Dim returnValue As Object
returnValue = instance.GetFileOrFolderObject(strUrl)
public Object GetFileOrFolderObject(
string strUrl
)
strUrl
Type: System.StringThe URL of the file or folder.
Type: System.Object
The file or folder on the website with the specified URL.
The URL that is passed to this method can be an absolute URL or server-relative URL.