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