Compartilhar via


WebPartMobileAdapter Class

Provides the common functionality needed by all adapters that make Web Parts on SharePoint pages accessible from mobile devices.

Inheritance Hierarchy

System.Object
  System.Web.UI.Adapters.ControlAdapter
    Microsoft.SharePoint.WebPartPages.WebPartMobileAdapter
      WhereaboutsWebPartMobileAdapter
      Microsoft.SharePoint.WebPartPages.ImageWebPartMobileAdapter
      Microsoft.SharePoint.WebPartPages.ListViewWebPartMobileAdapter
      Microsoft.SharePoint.WebPartPages.XsltListViewWebPartMobileAdapter

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
<AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
Public Class WebPartMobileAdapter _
    Inherits ControlAdapter _
    Implements IDisposable
'Usage
Dim instance As WebPartMobileAdapter
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
public class WebPartMobileAdapter : ControlAdapter, 
    IDisposable

Remarks

Use WebPartMobileAdapter as a base class for creating mobile adapters for particular Web Parts.

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

WebPartMobileAdapter Members

Microsoft.SharePoint.WebPartPages Namespace