다음을 통해 공유


SPMobilePostsListNavigation Class

Specifies the ID of the <RenderingTemplate> that is used when rendering the footer 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.SPMobileListNavigation
              Microsoft.SharePoint.MobileControls.SPMobilePostsListNavigation

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

Syntax

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

Remarks

The ID is the value of the DefaultTemplateName property, and it is one of the following:

Moblog_AllPosts_Navigation
Moblog_MyPosts_Navigation

The ID is the first value when the view type of the current context is AllPosts; that is, show all posts. It 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. It indicates that the <RenderingTemplate> is for mobile blog sites. The "Navigation" indicates that <RenderingTemplate> applies to the footer 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

SPMobilePostsListNavigation Members

Microsoft.SharePoint.MobileControls Namespace