SPMobileButtonNavigation, classe (Microsoft.SharePoint.MobileControls)

Renders a clickable control, usually in the Footer (Navigation) section of a mobile page, that performs a function and causes a postback.

Espace de noms : Microsoft.SharePoint.MobileControls
Assembly : Microsoft.SharePoint (dans microsoft.sharepoint.dll)

Syntaxe

'Déclaration
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level:=AspNetHostingPermissionLevel.Minimal)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel:=True)> _
<AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level:=AspNetHostingPermissionLevel.Minimal)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel:=True)> _
Public Class SPMobileButtonNavigation
    Inherits SPMobileNavigation
'Utilisation
Dim instance As SPMobileButtonNavigation
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] 
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel=true)] 
[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] 
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel=true)] 
public class SPMobileButtonNavigation : SPMobileNavigation

Notes

Use SPMobileButtonNavigation as a base class for classes that provide some specific type of functionality such as saving an item.

The control is usually a button, but it can be a link. Following the completion of its function, the postback takes the user to the URL in RedirectUrl. This does not have to be a new page. The action might, for example, simply refresh the current page.

Contrast SPMobileButtonNavigation with SPMobileLinkNavigation, which directly navigates to a new page without causing a postback.

Hiérarchie d'héritage

System.Object
   System.Web.UI.Control
     System.Web.UI.MobileControls.MobileControl
       Microsoft.SharePoint.MobileControls.SPMobileComponent
         Microsoft.SharePoint.MobileControls.SPMobileNavigation
          Microsoft.SharePoint.MobileControls.SPMobileButtonNavigation
             Microsoft.SharePoint.MobileControls.SPMobileCancelNavigation
             Microsoft.SharePoint.MobileControls.SPMobileDeleteNavigation
             Microsoft.SharePoint.MobileControls.SPMobilePostsRefreshNavigation
             Microsoft.SharePoint.MobileControls.SPMobileRefreshNavigation

Sécurité des threads

Les membres statiques publics de ce type (Shared en Visual Basic) sont sécurisés au niveau des threads. Il n'est pas garanti que les membres d'instance soient sécurisés au niveau des threads.

Voir aussi

Référence

Membres SPMobileButtonNavigation
Microsoft.SharePoint.MobileControls, espace de noms