Share via


WebPartMobilePage class

NOTE: This API is now obsolete.

Representa uma página de Web Parts que foi criado para exibição nas pequenas telas de dispositivos móveis e que contém Web Parts que têm adaptadores para portáteis.

Inheritance hierarchy

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

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

Syntax

'Declaração
<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
'Uso
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

Comentários

Cada objeto WebPartMobilePage obtém suas Web Parts de um objeto não-móvel WebPartPage correspondente, chamado de página de destino, para que você não pode criar uma página de WebPartMobilePage a menos que haja um correspondente do mobile não WebPartPage.

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.

Ver também

Referência

WebPartMobilePage members

Microsoft.SharePoint.WebPartPages namespace