View.MobileDefaultView Property
Gets or sets a value that specifies whether the list view is the default mobile list view.
Namespace: Microsoft.SharePoint.Client
Assemblies: Microsoft.SharePoint.Client.Silverlight (in Microsoft.SharePoint.Client.Silverlight.dll); Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)
Syntax
'Declaration
<RemoteAttribute> _
Public Property MobileDefaultView As Boolean
Get
Set
'Usage
Dim instance As View
Dim value As Boolean
value = instance.MobileDefaultView
instance.MobileDefaultView = value
[RemoteAttribute]
public bool MobileDefaultView { get; set; }
Property Value
Type: System.Boolean
Returns Booleantrue if the list view is the default mobile list view otherwise returns false. The default value is
Exceptions
Exception | Condition |
---|---|
[Microsoft.SharePoint.SPException] | List view is a personal view, or ViewType is not “HTML”, “CALENDAR”, or “RECURRENCE”. Error code: -2146232832. |