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