Share via


CheckoutCommandHandler class

Provides the ribbon command handler for the Checkout button.

Inheritance hierarchy

System.Object
  System.Web.UI.Control
    System.Web.UI.WebControls.WebControl
      Microsoft.SharePoint.WebControls.SPRibbonCommandHandler
        Microsoft.SharePoint.WebControls.CheckoutCommandHandler

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

Syntax

'Declaration
<PermissionSetAttribute(SecurityAction.InheritanceDemand, Name := "FullTrust")> _
<PermissionSetAttribute(SecurityAction.LinkDemand, Name := "FullTrust")> _
Public Class CheckoutCommandHandler _
    Inherits SPRibbonCommandHandler _
    Implements ICallbackEventHandler
'Usage
Dim instance As CheckoutCommandHandler
[PermissionSetAttribute(SecurityAction.InheritanceDemand, Name = "FullTrust")]
[PermissionSetAttribute(SecurityAction.LinkDemand, Name = "FullTrust")]
public class CheckoutCommandHandler : SPRibbonCommandHandler, 
    ICallbackEventHandler

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

CheckoutCommandHandler members

Microsoft.SharePoint.WebControls namespace