다음을 통해 공유


SPMobileWebNavigation.Suffix Property

Gets the part of the <RenderingTemplate>'s ID that follows 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 SPMobileWebNavigation
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 follows the name (or ID number) of the type of site and the ElementSeparator character (an underscore, by default).

Remarks

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

However, in SharePoint Foundation, SPMobileWebNavigation is used only in a context where the page type is HomePage, so Suffix always returns HomePage_Navigation. (There is an exceptional case when Suffix returns DeletePage_Navigation.)

You should not use SPMobileWebNavigation in your own code.

See Also

Reference

SPMobileWebNavigation Class

SPMobileWebNavigation Members

Microsoft.SharePoint.MobileControls Namespace

Other Resources

Walkthrough: Customizing a Mobile Home Page