Udostępnij za pośrednictwem


SPMobileCommentsCancelNavigation Class

Renders a clickable Cancel control on a create comment form for 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.SPMobileButtonNavigation
            Microsoft.SharePoint.MobileControls.SPMobileCancelNavigation
              Microsoft.SharePoint.MobileControls.SPMobileCommentsCancelNavigation

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 NotInheritable Class SPMobileCommentsCancelNavigation _
    Inherits SPMobileCancelNavigation
'Usage
Dim instance As SPMobileCommentsCancelNavigation
[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
public sealed class SPMobileCommentsCancelNavigation : SPMobileCancelNavigation

Remarks

The control closes the create comment form without saving the comment. The user is returned to the View Comments page for the current blog post.

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

SPMobileCommentsCancelNavigation Members

Microsoft.SharePoint.MobileControls Namespace