获取的部分 <RenderingTemplate>'s ID,如下所示的网站类型名称 (或 ID 号)。
命名空间: Microsoft.SharePoint.Mobile.WebControls
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public Overrides ReadOnly Property Suffix As String
Get
用法
Dim instance As SPMobileWebNavigation
Dim value As String
value = instance.Suffix
public override string Suffix { get; }
属性值
类型:System.String
代表部分String <RenderingTemplate>'s ID,如下所示的网站和ElementSeparator字符 (默认情况下,下划线) 类型的名称 (或 ID 号)。
备注
Suffix返回PageType_Navigation PageType所在的页面,例如主页、 DeletePage 或 NewForm 的类型。"导航"指示该 <RenderingTemplate> 应应用于页上的页脚部分。
但是,在SharePoint Foundation, SPMobileWebNavigation使用仅在上下文中的页面类型是主页,因此Suffix始终返回HomePage_Navigation。(没有例外情况时Suffix返回DeletePage_Navigation。)
不应在您自己的代码中使用SPMobileWebNavigation 。
另请参阅
引用
Microsoft.SharePoint.Mobile.WebControls 命名空间