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