ViewCreationInformation.SetAsDefaultView property

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

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

Syntax

'Declaration
Public Property SetAsDefaultView As Boolean
    Get
    Set
'Usage
Dim instance As ViewCreationInformation
Dim value As Boolean

value = instance.SetAsDefaultView

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

Property value

Type: System.Boolean
Returns Booleantrue if the the new list view is the default list view.; otherwise, returns false. The default value is.

See also

Reference

ViewCreationInformation class

ViewCreationInformation members

Microsoft.SharePoint.Client namespace