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.
Returns the URL of the specified list view in a mobile Web application.
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
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.