Share via


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

Return value

Type: System.String
A string that contains the URL.

See also

Reference

SPMobileUtility class

SPMobileUtility members

GetViewUrl overload

Microsoft.SharePoint.Utilities namespace