SPMobileListTemplateSelector.TemplateName 属性

获取用于呈现列表中,如果位于%ProgramFiles%\Common Files\Microsoft Shared\web server extensions\15\TEMPLATE\CONTROLTEMPLATES 中的任何.ascx 文件RenderingTemplate模板的 ID。

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

语法

声明
Public Overrides ReadOnly Property TemplateName As String
    Get
用法
Dim instance As SPMobileListTemplateSelector
Dim value As String

value = instance.TemplateName
public override string TemplateName { get; }

属性值

类型:System.String
代表在%ProgramFiles%\Common Files\Microsoft Shared\web server extensions\15\TEMPLATE\CONTROLTEMPLATES 中查找SPMobileListTemplateSelectorRenderingTemplate模板的 ID String

备注

在%ProgramFiles%\Common Files\Microsoft Shared\web server extensions\15\TEMPLATE\CONTROLTEMPLATES 中的以下属性标识的模板的.ascx 文件中查找TemplateNameget访问器。它将返回找到的第一个模板。属性优先顺序列出。例如, get访问器不查找与**ListTypeIdTemplate()中的 ID 的模板除非没有ListTypeTemplate()**中具有与 ID 的模板的.ascx 文件。列出的最后一个保证存在,除非MobileControlTemplates.ascx文件已被修改,这不受支持。

  • ListTypeTemplate()

  • ListTypeIdTemplate()

  • BaseTypeTemplate()

  • BaseTypeIdTemplate()

  • DefaultTemplateName

另请参阅

引用

SPMobileListTemplateSelector 类

SPMobileListTemplateSelector 成员

Microsoft.SharePoint.Mobile.WebControls 命名空间

其他资源

Mobile Page Rendering System