WebPartMobileAdapter 类
提供所需的所有使在 SharePoint 页面的 Web 部件可从移动设备访问的适配器的常见功能。
继承层次结构
System.Object
System.Web.UI.Adapters.ControlAdapter
Microsoft.SharePoint.WebPartPages.WebPartMobileAdapter
Microsoft.SharePoint.WebPartPages.ImageWebPartMobileAdapter
Microsoft.SharePoint.WebPartPages.ListViewWebPartMobileAdapter
Microsoft.SharePoint.WebPartPages.XsltListViewWebPartMobileAdapter
命名空间: Microsoft.SharePoint.WebPartPages
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
<AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
Public Class WebPartMobileAdapter _
Inherits ControlAdapter _
Implements IDisposable
用法
Dim instance As WebPartMobileAdapter
[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
public class WebPartMobileAdapter : ControlAdapter,
IDisposable
备注
为特定 Web 部件创建移动适配器类作为基类使用WebPartMobileAdapter 。
线程安全性
该类型的任何公共 静态 (已共享 在 Visual Basic 中) 成员都是线程安全的。不保证任何实例成员都是线程安全的。