Partager via


SPMobileListTemplateSelector Class

Selects, based on the current type of list, a RenderingTemplate template to render a list on a mobile page.

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.SPMobileListContents
            Microsoft.SharePoint.MobileControls.SPMobileListFieldSelector
            Microsoft.SharePoint.MobileControls.SPMobileListNavigation
            Microsoft.SharePoint.MobileControls.SPMobileListTitle
            Microsoft.SharePoint.MobileControls.SPMobilePostsListTitle

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

Syntax

<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public Class SPMobileListTemplateSelector _
    Inherits SPMobileTemplateSelector

Dim instance As SPMobileListTemplateSelector
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public class SPMobileListTemplateSelector : SPMobileTemplateSelector

Remarks

For an overview of the role of the classes that derive from SPMobileListTemplateSelector in the page rendering system for mobile devices, see Mobile Page Rendering System.

This class and its derived classes cannot be used to render sections of mobile home pages. To render sections of home pages, use classes that are derived from SPMobileWebTemplateSelector.

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

SPMobileListTemplateSelector Members

Microsoft.SharePoint.MobileControls Namespace

Other Resources

Mobile Page Rendering System