Share via


SPMobileCommentsNavigation Class

Renders a link to a Comments-oriented page on a mobile blog site.

Inheritance Hierarchy

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

Namespace:  Microsoft.SharePoint.MobileControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public Class SPMobileCommentsNavigation _
    Inherits SPMobileLinkNavigation

Dim instance As SPMobileCommentsNavigation
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public class SPMobileCommentsNavigation : SPMobileLinkNavigation

Remarks

Use the SPMobileCommentsNavigation class as a base class and override the GenerateUrl method to point to a page that provides functionality that is relevant to comments about blog posts. (There is already a derived class for a page that lists all comments and a form for the creation of a new comment. For more information, see SPMobileCommentsListViewNavigation and SPMobileCommentsNewFormNavigation.)

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

SPMobileCommentsNavigation Members

Microsoft.SharePoint.MobileControls Namespace