SPMobileWebTemplateSelector.WebTypeTemplate 属性

获取具有,其第二段中的当前网站的网站定义的名称 ( RenderingTemplate模板) 的 ID。

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

语法

声明
Public Overridable ReadOnly Property WebTypeTemplate As String
    Get
用法
Dim instance As SPMobileWebTemplateSelector
Dim value As String

value = instance.WebTypeTemplate
public virtual string WebTypeTemplate { get; }

属性值

类型:System.String
A String that represents a RenderingTemplate ID whose second segment consists of the value of the Name attribute of the 协作应用程序标记语言 (CAML) Template element (of the SharePoint WEBTEMP.XML file) for the current type of Web site. For example, the Name value for the blog site definition is "BLOG".

备注

"博客"、"STS"、"SGS"是可能的值仅在SharePoint FoundationRenderingTemplate ID 的第二段,因为无附带SharePoint Foundation的其他网站类型支持从移动设备访问和自定义网站定义由WebIdTemplate

另请参阅

引用

SPMobileWebTemplateSelector 类

SPMobileWebTemplateSelector 成员

Microsoft.SharePoint.Mobile.WebControls 命名空间

其他资源

Mobile Page Rendering System