SPList.IsContentTypeAllowed-Methode (SPContentTypeId)

Überprüft, ob die Liste den angegebenen Inhaltstyp unterstützt.

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

Syntax

'Declaration
Public Function IsContentTypeAllowed ( _
    id As SPContentTypeId _
) As Boolean
'Usage
Dim instance As SPList
Dim id As SPContentTypeId
Dim returnValue As Boolean

returnValue = instance.IsContentTypeAllowed(id)
public bool IsContentTypeAllowed(
    SPContentTypeId id
)

Parameter

Rückgabewert

Typ: System.Boolean
true Wenn die Liste den Inhaltstyp unterstützt; andernfalls false.

Siehe auch

Referenz

SPList Klasse

SPList-Member

IsContentTypeAllowed-Überladung

Microsoft.SharePoint-Namespace