SPList.AllowContentTypes property
如果清單支援內容類型,會傳回true 。
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public ReadOnly Property AllowContentTypes As Boolean
Get
'用途
Dim instance As SPList
Dim value As Boolean
value = instance.AllowContentTypes
public bool AllowContentTypes { get; }
Property value
Type: System.Boolean
true如果清單支援內容類型否則,請false。