SPList.ForceDefaultContentType property

SharePoint 2013

Specifies whether we want to return the default Document root content type.

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

'Declaration
Public Property ForceDefaultContentType As Boolean
	Get
	Set
'Usage
Dim instance As SPList
Dim value As Boolean

value = instance.ForceDefaultContentType

instance.ForceDefaultContentType = value

Property value

Type: System.Boolean
true if force default content type is enabled; otherwise, false. Default is false
Show: