Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns the URL of the specified form in a mobile Web application.
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
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.