SPList.ForceDefaultContentType - Propriété

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

Espace de noms :  Microsoft.SharePoint
Assembly :  Microsoft.SharePoint (dans Microsoft.SharePoint.dll)

Syntaxe

'Déclaration
Public Property ForceDefaultContentType As Boolean
    Get
    Set
'Utilisation
Dim instance As SPList
Dim value As Boolean

value = instance.ForceDefaultContentType

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

Valeur de propriété

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

Voir aussi

Référence

SPList classe

SPList - Membres

Microsoft.SharePoint - Espace de noms