SPMobileUtility.GetNewFormUrl method (SPContext)
Returns the URL of the new form (NewForm.aspx)of a mobile Web application.
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Shared Function GetNewFormUrl ( _
context As SPContext _
) As String
'Usage
Dim context As SPContext
Dim returnValue As String
returnValue = SPMobileUtility.GetNewFormUrl(context)
public static string GetNewFormUrl(
SPContext context
)
Parameters
context
Type: Microsoft.SharePoint.SPContextAn SPContext object that represents context information for the mobile Web application.
Return value
Type: System.String
A string that contains the URL.