SPMobileUtility.CreateFolderNavigation method
NOTE: This API is now obsolete.
Creates a link to the contents of a child folder.
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
<ObsoleteAttribute("The System.Web.Mobile.dll assembly has been deprecated and should no longer be used. For information about how to develop ASP.NET mobile applications, see https://go.microsoft.com/fwlink/?LinkId=157231.")> _
Public Shared Function CreateFolderNavigation ( _
folderName As String, _
list As SPList, _
view As SPView, _
currentFolder As SPFolder _
) As Link
'Usage
Dim folderName As String
Dim list As SPList
Dim view As SPView
Dim currentFolder As SPFolder
Dim returnValue As Link
returnValue = SPMobileUtility.CreateFolderNavigation(folderName, _
list, view, currentFolder)
[ObsoleteAttribute("The System.Web.Mobile.dll assembly has been deprecated and should no longer be used. For information about how to develop ASP.NET mobile applications, see https://go.microsoft.com/fwlink/?LinkId=157231.")]
public static Link CreateFolderNavigation(
string folderName,
SPList list,
SPView view,
SPFolder currentFolder
)
Parameters
folderName
Type: System.StringThe folder name which serves as the link text.
list
Type: Microsoft.SharePoint.SPListThe current list.
view
Type: Microsoft.SharePoint.SPViewThe current view.
currentFolder
Type: Microsoft.SharePoint.SPFolderThe current (parent) folder.
Return value
Type: System.Web.UI.MobileControls.Link
A link to the child folder (or a null reference (Nothing in Visual Basic), if folderName does not exist).