Condividi tramite


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

'Declaration
<AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
Public Class SPMobileCommentsNavigation _
    Inherits SPMobileLinkNavigation
'Usage
Dim instance As SPMobileCommentsNavigation
[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
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