共用方式為


SPViewStyle.HasTemplateType property

取得 Boolean 值,指出是否將樣式為基礎的其中一個內建清單定義類型。

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

Syntax

'宣告
Public ReadOnly Property HasTemplateType As Boolean
    Get
'用途
Dim instance As SPViewStyle
Dim value As Boolean

value = instance.HasTemplateType
public bool HasTemplateType { get; }

Property value

Type: System.Boolean
true如果樣式根據下列其中一個內建清單定義類型 ;否則,請false。

請參閱

參照

SPViewStyle class

SPViewStyle members

Microsoft.SharePoint namespace