SPWebTemplate.IsCustomTemplate property
取得值,這個值,指出是否SPWebTemplate物件是自訂網站定義組態,或相反的是一種網站範本。
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public ReadOnly Property IsCustomTemplate As Boolean
Get
'用途
Dim instance As SPWebTemplate
Dim value As Boolean
value = instance.IsCustomTemplate
public bool IsCustomTemplate { get; }
Property value
Type: System.Boolean
true如果SPWebTemplate物件是 Web 範本 ;否則, false,這表示它是站台定義組態。
備註
如果SPWebTemplate物件是SPCustomWebTemplate, IsCustomTemplate一定會傳回true。