Condividi tramite


SPMobilePostsListTitle Class

Specifies the ID of the <RenderingTemplate> that is used when rendering the header area of a list of posts on a mobile web site.

Inheritance Hierarchy

System.Object
  System.Web.UI.Control
    System.Web.UI.MobileControls.MobileControl
      Microsoft.SharePoint.MobileControls.SPMobileComponent
        Microsoft.SharePoint.MobileControls.SPMobileTemplateSelector
          Microsoft.SharePoint.MobileControls.SPMobileListTemplateSelector
            Microsoft.SharePoint.MobileControls.SPMobilePostsListTitle

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

Syntax

'Declaration
<AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
Public NotInheritable Class SPMobilePostsListTitle _
    Inherits SPMobileListTemplateSelector
'Usage
Dim instance As SPMobilePostsListTitle
[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
public sealed class SPMobilePostsListTitle : SPMobileListTemplateSelector

Remarks

For an overview of the role of this class in the page rendering system for mobile devices, see Mobile Page Rendering System.

The ID is the value of the DefaultTemplateName property and is one of the following two values:

Moblog_AllPosts_Title
Moblog_MyPosts_Title

The ID is the first value when the view type of the current context is AllPosts; that is, show all posts. The ID is the second value when the view type is MyPosts; that is, show only the posts of the current user.

The "Moblog" is the value of the DefaultPrefix property, and it indicates that the <RenderingTemplate> is for mobile blog sites. The "Title" indicates that <RenderingTemplate> applies to the header part of the page.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

SPMobilePostsListTitle Members

Microsoft.SharePoint.MobileControls Namespace