SPList.ForceDefaultContentType property
會指定是否要傳回的預設文件根內容類型。
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Property ForceDefaultContentType As Boolean
Get
Set
'用途
Dim instance As SPList
Dim value As Boolean
value = instance.ForceDefaultContentType
instance.ForceDefaultContentType = value
public bool ForceDefaultContentType { get; set; }
Property value
Type: System.Boolean
如果已啟用強制預設內容類型,則為 true否則為 false。預設值為 false