SPList.IsContentTypeAllowed Method

Definition

Overloads

IsContentTypeAllowed(SPContentType)
IsContentTypeAllowed(SPContentTypeId)

IsContentTypeAllowed(SPContentType)

public:
 bool IsContentTypeAllowed(Microsoft::SharePoint::SPContentType ^ ct);
public bool IsContentTypeAllowed (Microsoft.SharePoint.SPContentType ct);
member this.IsContentTypeAllowed : Microsoft.SharePoint.SPContentType -> bool
Public Function IsContentTypeAllowed (ct As SPContentType) As Boolean

Parameters

Returns

Boolean

IsContentTypeAllowed(SPContentTypeId)

public:
 bool IsContentTypeAllowed(Microsoft::SharePoint::SPContentTypeId id);
public bool IsContentTypeAllowed (Microsoft.SharePoint.SPContentTypeId id);
member this.IsContentTypeAllowed : Microsoft.SharePoint.SPContentTypeId -> bool
Public Function IsContentTypeAllowed (id As SPContentTypeId) As Boolean

Parameters

Returns

Boolean

Applies to