SPMobilePage.IsMicrosoftMobileExplorer Method
Gets a value that indicates whether the mobile device browse is Microsoft Mobile Explorer.
Namespace: Microsoft.SharePoint.MobileControls
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Function IsMicrosoftMobileExplorer ( _
capabilities As HttpCapabilitiesBase, _
optionalArgument As String _
) As Boolean
'Usage
Dim instance As SPMobilePage
Dim capabilities As HttpCapabilitiesBase
Dim optionalArgument As String
Dim returnValue As Boolean
returnValue = instance.IsMicrosoftMobileExplorer(capabilities, _
optionalArgument)
public bool IsMicrosoftMobileExplorer(
HttpCapabilitiesBase capabilities,
string optionalArgument
)
Parameters
capabilities
Type: System.Web.Configuration.HttpCapabilitiesBaseThe capabilities of the browser.
optionalArgument
Type: System.StringDo not use.
Return Value
Type: System.Boolean
true if the browser is Microsoft Mobile Explorer; otherwise false.