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.SPViewAn SPView object that represents a view of the data that is contained in a list on a SharePoint site.
list
Type: Microsoft.SharePoint.SPListAn SPLIST object that represents a list on a SharePoint site.
item
Type: Microsoft.SharePoint.SPItemAn SPItem object that represents the mobile Web application's data transport item.
context
Type: Microsoft.SharePoint.SPContextAn SPContext object that represents context information for the mobile Web application.
pagetype
Type: Microsoft.SharePoint.PAGETYPEA PAGETYPE value that indicates the type of the form.
Return value
Type: System.String
A string that contains the URL.