SPMobileUtility.GetViewUrl method (SPList, SPView, SPContext, 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, _
context As SPContext, _
folder As SPFolder _
) As String
'Usage
Dim list As SPList
Dim view As SPView
Dim context As SPContext
Dim folder As SPFolder
Dim returnValue As String
returnValue = SPMobileUtility.GetViewUrl(list, _
view, context, folder)
public static string GetViewUrl(
SPList list,
SPView view,
SPContext context,
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.
context
Type: Microsoft.SharePoint.SPContextAn SPContext object that represents context information for the mobile Web application.
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.