SPMobileUtility.SupportsTouchUserInterface method
Gets a value that indicates whether the mobile device browser supports touch screens.
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Shared Function SupportsTouchUserInterface ( _
context As HttpContext _
) As Boolean
'Usage
Dim context As HttpContext
Dim returnValue As Boolean
returnValue = SPMobileUtility.SupportsTouchUserInterface(context)
public static bool SupportsTouchUserInterface(
HttpContext context
)
Parameters
context
Type: System.Web.HttpContextInformation about the request context.
Return value
Type: System.Boolean
true, if the browser supports touch screens; otherwise false.