共用方式為


SPMobilePage.IsChtml10 Method

Returns a value indicating whether the current browser's preferred rendering language is CHTML 1.0.

Namespace:  Microsoft.SharePoint.MobileControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Function IsChtml10 ( _
    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.IsChtml10(capabilities, _
    optionalArgument)
public bool IsChtml10(
    HttpCapabilitiesBase capabilities,
    string optionalArgument
)

Parameters

Return Value

Type: System.Boolean
true if the browser prefers CHTML 1.0; otherwise false.

See Also

Reference

SPMobilePage Class

SPMobilePage Members

Microsoft.SharePoint.MobileControls Namespace