Share via


SPMobileUtility.GetFormUrl method (SPView, SPList, SPItem, SPContext, PAGETYPE)

Returns the URL of the specified form in a mobile Web application.

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Shared Function GetFormUrl ( _
    view As SPView, _
    list As SPList, _
    item As SPItem, _
    context As SPContext, _
    pagetype As PAGETYPE _
) As String
'Usage
Dim view As SPView
Dim list As SPList
Dim item As SPItem
Dim context As SPContext
Dim pagetype As PAGETYPE
Dim returnValue As String

returnValue = SPMobileUtility.GetFormUrl(view, _
    list, item, context, pagetype)
public static string GetFormUrl(
    SPView view,
    SPList list,
    SPItem item,
    SPContext context,
    PAGETYPE pagetype
)

Parameters

  • view
    Type: Microsoft.SharePoint.SPView

    An SPView object that represents a view of the data that is contained in a list on a SharePoint site.

Return value

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

See also

Reference

SPMobileUtility class

SPMobileUtility members

GetFormUrl overload

Microsoft.SharePoint.Utilities namespace