Condividi tramite


SPMobileTemplateSelector Class

Selects, based on current context information such as type of site and type of list, a RenderingTemplate template to render part of 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.SPMobileWebTemplateSelector

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 Class SPMobileTemplateSelector _
    Inherits SPMobileComponent
'Usage
Dim instance As SPMobileTemplateSelector
[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
public class SPMobileTemplateSelector : SPMobileComponent

Remarks

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

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

SPMobileTemplateSelector Members

Microsoft.SharePoint.MobileControls Namespace