Partilhar via


SPView.MobileView Property

Gets or sets a Boolean value that specifies whether the view applies to a mobile device.

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

Syntax

'Declaration
<ClientCallableAttribute> _
Public Property MobileView As Boolean
    Get
    Set
'Usage
Dim instance As SPView
Dim value As Boolean

value = instance.MobileView

instance.MobileView = value
[ClientCallableAttribute]
public bool MobileView { get; set; }

Property Value

Type: System.Boolean
true if the view applies to a mobile device; otherwise, false.

See Also

Reference

SPView Class

SPView Members

Microsoft.SharePoint Namespace