Share via


View.MobileView property

Gets or sets a value that specifies whether the list view is a mobile list view.

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

Syntax

'Declaration
Public Property MobileView As Boolean
    Get
    Set
'Usage
Dim instance As View
Dim value As Boolean

value = instance.MobileView

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

Property value

Type: System.Boolean
Returns Booleantrue if the list view is a mobile list view otherwise returns false.

Exceptions

Exception Condition
SPException

List view is a personal view, or ViewType is not “HTML”, “CALENDAR”, or “RECURRENCE”. Error code: -2146232832.

See also

Reference

View class

View members

Microsoft.SharePoint.Client namespace