SPMobileUtility.GetViewUrl method (SPList, SPView, SPFolder)
Returns the URL of the specified list view in a mobile Web application.
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Shared Function GetViewUrl ( _
list As SPList, _
view As SPView, _
folder As SPFolder _
) As String
'Usage
Dim list As SPList
Dim view As SPView
Dim folder As SPFolder
Dim returnValue As String
returnValue = SPMobileUtility.GetViewUrl(list, _
view, folder)
public static string GetViewUrl(
SPList list,
SPView view,
SPFolder folder
)
Parameters
list
Type: Microsoft.SharePoint.SPListAn SPList object that represents a list on a site.
view
Type: Microsoft.SharePoint.SPViewAn SPView object that represents a view of the data that is contained in the list.
folder
Type: Microsoft.SharePoint.SPFolderAn SPFolder object that represents a folder on a site.
Return value
Type: System.String
A string that contains the URL.