WebPartMobilePage - Classe

Remarque : cette API est désormais obsolète.

Représente une page de composant WebPart qui est conçue pour une visualisation sur les petits écrans des appareils mobiles et qui contient des WebParts ayant pour PC portables.

Hiérarchie d’héritage

System.Object
  System.Web.UI.Control
    System.Web.UI.TemplateControl
      System.Web.UI.Page
        System.Web.UI.MobileControls.MobilePage
          Microsoft.SharePoint.MobileControls.SPMobilePage
            Microsoft.SharePoint.WebPartPages.WebPartMobilePage

Espace de noms :  Microsoft.SharePoint.WebPartPages
Assembly :  Microsoft.SharePoint (dans Microsoft.SharePoint.dll)

Syntaxe

'Déclaration
<ObsoleteAttribute("The System.Web.Mobile.dll assembly has been deprecated and should no longer be used. For information about how to develop ASP.NET mobile applications, see https://go.microsoft.com/fwlink/?LinkId=157231.")> _
<PermissionSetAttribute(SecurityAction.InheritanceDemand, Name := "FullTrust")> _
<PermissionSetAttribute(SecurityAction.LinkDemand, Name := "FullTrust")> _
Public Class WebPartMobilePage _
    Inherits SPMobilePage
'Utilisation
Dim instance As WebPartMobilePage
[ObsoleteAttribute("The System.Web.Mobile.dll assembly has been deprecated and should no longer be used. For information about how to develop ASP.NET mobile applications, see https://go.microsoft.com/fwlink/?LinkId=157231.")]
[PermissionSetAttribute(SecurityAction.InheritanceDemand, Name = "FullTrust")]
[PermissionSetAttribute(SecurityAction.LinkDemand, Name = "FullTrust")]
public class WebPartMobilePage : SPMobilePage

Remarques

Chaque objet WebPartMobilePage obtient son WebParts à partir d'un objet non mobile WebPartPage correspondante, appelé la page cible, vous ne pouvez pas créer une page WebPartMobilePage sauf s'il existe un correspondant non mobile WebPartPage.

Cohérence de thread

Tous les membres statique (Partagé dans Visual Basic)s publics de ce type sont thread-safe. Cela n’est pas garanti pour les membres d’instance.

Voir aussi

Référence

WebPartMobilePage - Membres

Microsoft.SharePoint.WebPartPages - Espace de noms