Share via


View.DefaultViewForContentType property

Gets or sets a value that specifies whether the list view is the default list view for the content type specified by ContentTypeId.

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

Syntax

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

value = instance.DefaultViewForContentType

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

Property value

Type: System.Boolean
Returns Booleantrue if the list view is the default list view for the content type specified by ContentTypeId otherwise returns false. The default value is

See also

Reference

View class

View members

Microsoft.SharePoint.Client namespace