Share via


WebPartMobileAdapter - Classe

Fournit les fonctionnalités communes nécessaires à tous les adaptateurs qui rendent les WebParts dans les pages SharePoint accessibles à partir de périphériques mobiles.

Hiérarchie d’héritage

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

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

Syntaxe

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

Remarques

Utilisez WebPartMobileAdapter comme classe de base pour la création de cartes mobiles pour particulier de WebParts.

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

WebPartMobileAdapter - Membres

Microsoft.SharePoint.WebPartPages - Espace de noms