SPMobilePage.IsXhtmlMp Method
Returns a value indicating whether the current browser's preferred rendering language is XHTML MP.
Namespace: Microsoft.SharePoint.MobileControls
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Function IsXhtmlMp ( _
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.IsXhtmlMp(capabilities, _
optionalArgument)
public bool IsXhtmlMp(
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 prefers XHTML MP; otherwise false.