SPMobileUtility.GetFormUrl method (SPView, 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, _
item As SPItem, _
context As SPContext, _
pagetype As PAGETYPE _
) As String
'Usage
Dim view As SPView
Dim item As SPItem
Dim context As SPContext
Dim pagetype As PAGETYPE
Dim returnValue As String
returnValue = SPMobileUtility.GetFormUrl(view, _
item, context, pagetype)
public static string GetFormUrl(
SPView view,
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.
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.