SPContext.HasDesignTimeContentType property
取得Boolean值,指出目前內容中的清單項目是否與設計階段的內容類型相關聯。
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public ReadOnly Property HasDesignTimeContentType As Boolean
Get
'用途
Dim instance As SPContext
Dim value As Boolean
value = instance.HasDesignTimeContentType
public bool HasDesignTimeContentType { get; }
Property value
Type: System.Boolean
true如果項目相關聯的設計階段的內容型別 ;否則false。