SPWebTemplate.IsHidden 属性

获取一个值,指示用户界面中显示网站定义配置是否为可选用于创建新网站的配置方案之一。

命名空间:  Microsoft.SharePoint
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
Public ReadOnly Property IsHidden As Boolean
    Get
用法
Dim instance As SPWebTemplate
Dim value As Boolean

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

属性值

类型:System.Boolean
true 显示如果SPWebTemplate表示网站定义配置和配置 ;否则为false。

备注

If the SPWebTemplate represents a site definition configuration, this property corresponds to the Hidden attribute of a Configuration element in a WebTemp*.xml file. (See WebTemp.xml for more information.)

如果SPWebTemplate代表Web 模板,则此属性始终返回false。

另请参阅

引用

SPWebTemplate 类

SPWebTemplate 成员

Microsoft.SharePoint 命名空间

其他资源

WebTemp.xml

Collaborative Application Markup Language (CAML)

Custom Site Templates

Site Definitions and Configurations