Partilhar via


SPMobilePostsListNavigation.DefaultTemplateName Property

Gets the full ID of the <RenderingTemplate> specified by the SPMobilePostsListNavigation.

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

Syntax

'Declaration
Public Overrides ReadOnly Property DefaultTemplateName As String
    Get
'Usage
Dim instance As SPMobilePostsListNavigation
Dim value As String

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

Property Value

Type: System.String
A String that represents the full ID of the <RenderingTemplate>'s ID attribute.

Remarks

This property is one of the following values, depending on whether the view type of the current context is AllPosts or MyPosts.

Moblog_AllPosts_Navigation
Moblog_MyPosts_Navigation

Each of these values is a concatenation of the Prefix and the Suffix with the ElementSeparator character in between. (Unless it has been changed, the Prefix property of a SPMobilePostsListNavigation object has the same value as the DefaultPrefix property, "Moblog".)

See Also

Reference

SPMobilePostsListNavigation Class

SPMobilePostsListNavigation Members

Microsoft.SharePoint.MobileControls Namespace