Share via


SPRibbonCommand.HandlerStatement Property

Gets or sets the code that is run when the command is invoked.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Overridable Property HandlerStatement As String
    Get
    Set
'Usage
Dim instance As SPRibbonCommand
Dim value As String

value = instance.HandlerStatement

instance.HandlerStatement = value
public virtual string HandlerStatement { get; set; }

Property Value

Type: System.String

Implements

IRibbonCommand.HandlerStatement

See Also

Reference

SPRibbonCommand Class

SPRibbonCommand Members

Microsoft.SharePoint.WebControls Namespace