Share via


SPView.DefaultView property

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

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

Syntax

'Declaration
Public Property DefaultView As Boolean
    Get
    Set
'Usage
Dim instance As SPView
Dim value As Boolean

value = instance.DefaultView

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

Property value

Type: System.Boolean
true if the view is the default view; otherwise, false.

See also

Reference

SPView class

SPView members

Microsoft.SharePoint namespace