Partilhar via


SPMobileWebTitle.Suffix Property

Gets the part of the <RenderingTemplate>'s ID that comes after the site type name (or ID number).

Namespace:  Microsoft.SharePoint.MobileControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Overrides ReadOnly Property Suffix As String
    Get
'Usage
Dim instance As SPMobileWebTitle
Dim value As String

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

Property Value

Type: System.String
A String that represents the portion of the <RenderingTemplate>'s ID that comes after the name (or ID number) of the type of site and the ElementSeparator character (an underscore, by default).

Remarks

Suffix returns PageType_Title, where PageType is the type of page, such as HomePage, DeletePage, or NewForm. The "Title" indicates that <RenderingTemplate> should apply to the header part of the page.

However, in SharePoint Foundation, SPMobileWebTitle is used only when the page type is HomePage, so Suffix always returns HomePage_Title. (There is an exceptional case when DeletePage_Title is returned.

You should not use SPMobileWebTitle in your own code.

See Also

Reference

SPMobileWebTitle Class

SPMobileWebTitle Members

Microsoft.SharePoint.MobileControls Namespace

Other Resources

Walkthrough: Customizing a Mobile Home Page