SPView.DefaultViewForContentType Property
Gets or sets a Boolean value that specifies whether the view is the default view for the associated content type.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
<ClientCallableAttribute> _
Public Property DefaultViewForContentType As Boolean
Get
Set
'Usage
Dim instance As SPView
Dim value As Boolean
value = instance.DefaultViewForContentType
instance.DefaultViewForContentType = value
[ClientCallableAttribute]
public bool DefaultViewForContentType { get; set; }
Property Value
Type: System.Boolean
true if the view is the default view; otherwise, false.