SPMobileCommentsNavigation - Classe
Remarque : cette API est désormais obsolète.
Affiche un lien vers une page de commentaires et orienté sur un site de blog mobile.
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.SPMobileLinkNavigation
Microsoft.SharePoint.MobileControls.SPMobileCommentsNavigation
Microsoft.SharePoint.MobileControls.SPMobileCommentsListViewNavigation
Microsoft.SharePoint.MobileControls.SPMobileCommentsNewFormNavigation
Espace de noms : Microsoft.SharePoint.MobileControls
Assembly : Microsoft.SharePoint (dans Microsoft.SharePoint.dll)
Syntaxe
'Déclaration
<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.")> _
<AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
Public Class SPMobileCommentsNavigation _
Inherits SPMobileLinkNavigation
'Utilisation
Dim instance As SPMobileCommentsNavigation
[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.")]
[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
public class SPMobileCommentsNavigation : SPMobileLinkNavigation
Remarques
Utilisez la classe SPMobileCommentsNavigation sous la forme d'une classe de base et substituez la méthode GenerateUrl pour pointer vers une page qui fournit des fonctionnalités qui sont pertinentes aux commentaires sur les billets de blog. (Il existe déjà une classe dérivée pour une page qui répertorie tous les commentaires et un formulaire pour la création d'un nouveau commentaire. Pour plus d'informations, consultez SPMobileCommentsListViewNavigation et SPMobileCommentsNewFormNavigation.)
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.