共用方式為


SPMobileContext.MarkupLanguage Property

Gets or sets the name of the markup language used by the mobile device.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Property MarkupLanguage As String
    Get
    Set
'Usage
Dim instance As SPMobileContext
Dim value As String

value = instance.MarkupLanguage

instance.MarkupLanguage = value
public string MarkupLanguage { get; set; }

Property Value

Type: System.String
A String that represents the name of the markup language such as "html32", "chtml10", "xhtml-mp", or "wml11".

See Also

Reference

SPMobileContext Class

SPMobileContext Members

Microsoft.SharePoint Namespace