SPWebTemplate.Title 属性

获取为网站定义配置Web 模板的显示名称。

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

语法

声明
Public ReadOnly Property Title As String
    Get
用法
Dim instance As SPWebTemplate
Dim value As String

value = instance.Title
public string Title { get; }

属性值

类型:System.String
包含的显示名称String

备注

If the SPWebTemplate represents a site definition configuration, this property is the value of the Title attribute of a Configuration element in a WebTemp*.xml. (See WebTemp.xml for more information.)

如果SPWebTemplate代表 Web 模板,此属性对应于.wsp 文件,用于存储 Web 模板中包含elements.xml文件中的WebTemplate元素的Title属性。

另请参阅

引用

SPWebTemplate 类

SPWebTemplate 成员

Microsoft.SharePoint 命名空间

其他资源

WebTemp.xml

Collaborative Application Markup Language (CAML)

Custom Site Templates

Site Definitions and Configurations