Share via


SPMobilePostsListTitle.DefaultTemplateName Property

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

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

Syntax

Public Overrides ReadOnly Property DefaultTemplateName As String
    Get

Dim instance As SPMobilePostsListTitle
Dim value As String

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

Property Value

Type: System.String
A String that represents the value of the <RenderingTemplate> ID attribute.

Remarks

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

Moblog_AllPosts_Title
Moblog_MyPosts_Title

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

See Also

Reference

SPMobilePostsListTitle Class

SPMobilePostsListTitle Members

Microsoft.SharePoint.MobileControls Namespace