WebPartMobilePage 类

请注意:此 API 现在已过时。

代表用于在移动设备的小型屏幕上查看和包含已移动适配器的 Web 部件的 Web 部件页。

继承层次结构

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

命名空间:  Microsoft.SharePoint.WebPartPages
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
<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
用法
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

备注

每个WebPartMobilePage对象从相应的非移动WebPartPage对象,因此您可能不会创建一个WebPartMobilePage页,除非有对应的非移动WebPartPage调用目标页中,获取其 Web 部件。

线程安全性

该类型的任何公共 静态 (已共享 在 Visual Basic 中) 成员都是线程安全的。不保证任何实例成员都是线程安全的。

另请参阅

引用

WebPartMobilePage 成员

Microsoft.SharePoint.WebPartPages 命名空间