Share via


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

Return value

Type: System.Boolean
true, if the browser supports touch screens; otherwise false.

See also

Reference

SPMobileUtility class

SPMobileUtility members

Microsoft.SharePoint.Utilities namespace